aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_win.bat (follow)
AgeCommit message (Collapse)AuthorLines
2025-11-16Fix comment about syspathsogaiu-1/+1
2025-09-11Improve windows-related docs and notessogaiu-0/+1
2025-04-05Replace if not errorlevel 0 with if errorlevel 1Calvin Rose-10/+10
The former is just bad syntax.
2024-12-31Brief: Add Arm64 .msi support on WindowsBob Tolbert-2/+8
Summary: Small update to add Windows on Arm64 support. Also requires the latest version 3.14 of the WiX toolset.
2024-12-05Prepare for 1.37.1 release and fix CI.v1.37.1Calvin Rose-1/+2
2024-09-07Don't try to copy janet.defsogaiu-1/+0
2024-08-17More updates to windows build.Calvin Rose-0/+2
2024-03-20Add exists test on cleanJosef Pospíšil-1/+3
2023-09-24Don't hide windows segfaults in build_win.bat.Calvin Rose-8/+8
2023-09-23Make meson build work on windows.Calvin Rose-6/+0
By default, use more traditional linking pattern with meson. The janet.exe will now link to janet-x.x.dll on windows (and similar for linux/posix) when built with meson. This is slightly less efficient and means that janet.exe built this way is no longer standalone (you would need to move the dll along with the exe), but plays better with most build systems.
2023-09-20Distinguish between JANET_API and JANET_EXPORTCalvin Rose-0/+6
One is a way to export symbols, the other a way to reference API functions. Also include prebuilt dlljanet.dll and dlljanet.lib for windows to save people the trouble of compiling janet.c themselves.
2023-09-20Work on dllimport option for janet.Calvin Rose-1/+2
2021-09-28Address #820 - ev/cancel to work on already scheduled fibers.bakpakin-1/+7
2021-07-15Delete jpm and related testing from this repository.Calvin Rose-29/+0
JPM and related functionality has been moved to it's own repository and will be versioned separately from Janet. The distribution process could later be modified to bundle a version of jpm with Janet but this is perhaps not needed.
2021-06-27Remove jhydro from CI pipeline.Calvin Rose-2/+0
2021-01-31Update Makefile and build_win for better builds.Calvin Rose-5/+5
Use build/c/janet.c in both to prevent accidental inclusion of build/janet.h (which may be stale) instead of the source headers.
2021-01-06Remove jpm.bat from windows dist.Calvin Rose-1/+0
It is still present in the MSI.
2020-11-26Update doc-format and boot.janet docstrings.Calvin Rose-4/+4
Make doc-format respect leading indents, increase the default format width to better accommodate markdown formatted documentation. We still need to support single line style doc strings, such as those used for most c functions which can be a single line of much longer than 80 or 120 characters. Consecutive whitespace internal to lines is not preserved, though.
2020-11-17On install, merge janetconf.h into janet.hCalvin Rose-2/+2
This results in a cleaner amalgmated build
2020-09-07Windows CI remove those pesky carriage returns.Calvin Rose-0/+1
2020-08-03Add -fPIC to default cflags when building boot image.Calvin Rose-2/+0
2020-07-18Test building binaries with jpm.Calvin Rose-0/+2
Test in CI with both meson and normal build. Also test windows.
2020-05-19Change build_win.bat to build Wix installerLeaf Garland-6/+17
2020-04-26Fix NSIS installer after moving jpm.Calvin Rose-1/+1
2020-04-26Rename auxbin/jpm -> jpm.Calvin Rose-1/+1
2020-04-01Actually run the installer in build_win.bat.appveyor-experimentsCalvin Rose-1/+1
2020-01-28Make amalgamtion the default when building.Calvin Rose-45/+8
This way we can support fewer build configurations. Also, remove all undefined behavior due to use of memcpy with NULL pointers. GCC was exploiting this to remove NULL checks in some builds.
2019-12-30Add features.h for feature test macros.Calvin Rose-1/+1
Because we use an amalgated build, feature test macros should be set in a single file that is included before any other headers, and is placed at the top of the amalgamated build.
2019-12-19Fix makensis invocation.Calvin Rose-1/+1
2019-12-19Echo calculated version.Calvin Rose-1/+2
2019-12-19Capture typo.Calvin Rose-1/+1
2019-12-19build_win.bat: Parse out smv of janet/version.Calvin Rose-1/+1
2019-12-19Windows installer pulls version from interpreter.Calvin Rose-1/+5
This should make version updates simpler. Also try an make installer write to ProgramFiles instead of ProgramFiles (x86) for 64 bit build.
2019-11-09Use /MD on windows.Calvin Rose-1/+1
Just makes things easier. Assume machines have msvcrt.dll on them. If not, we can add msvcrt.dll to the dist folder and add to installer.
2019-11-09Fix build_win.Calvin Rose-1/+3
2019-11-09Fix build_win test-install.Calvin Rose-9/+11
On failure, cd back to original directory.
2019-11-09Add --test flag to jpm.Calvin Rose-0/+6
Also test some select packages when testing installation. This is used in CI to make sure that versions of Janet work with the most libraries.
2019-10-29Fix build_win test-installCalvin Rose-2/+2
2019-10-29Add the quickbin command to jpm.Calvin Rose-0/+4
This is useful for making one off executable scripts without needing to set up a project.janet file.
2019-10-29Add shell.c to the amalgamation.Calvin Rose-0/+5
This allows easy builds of the full interpreter with no build system. 1. Get janet.c, janet.h, janetconf.h, and shell.c in a directory. Edit janetconf.h as desired. 2. gcc shell.c janet.c -lm -ldl -O2 -o janet (on GNU-Linux for example) 3. ./janet -h (Yay!)
2019-10-29Move init.janet into cli-main in boot.janetCalvin Rose-4/+0
This makes it easier to get the CLI functionality when embedding Janet, although the main reason is the init script is now pre-compiled to bytecode when generating the boot image.
2019-09-12Add script for removing <CR> on windows.Calvin Rose-0/+2
This caused bad stuff to be generated on windows, specifically the amalg file. We cause totally strip <CR> from files on windows using this script.
2019-08-28Fix test-install after removing cook.Calvin Rose-0/+4
2019-08-28Remove cook and path from default installCalvin Rose-3/+0
Instead, combine cook into jpm so we can manipulate JANET_PATH without messing with jpm. path was moved to and external repository, https://github.com/janet-lang/path.git
2019-08-18Add build commit hash to windows build from appveyor.Calvin Rose-11/+16
2019-07-28Update installer and make things build on windows.Calvin Rose-3/+1
We can now build windows executables with jpm.
2019-07-27Update windows installation and automation.Calvin Rose-13/+35
2019-07-27Progress towards making windows work again.Calvin Rose-3/+29
2019-06-20Verify working meson build on windows.meson-onlyCalvin Rose-2/+2
Using MSVC, no need for GNU tools.
2019-06-01More work on installation and moving files around.Calvin Rose-3/+5
Move all installed libraries into auxlib. Move all installed executable scripts into auxbin.