Commit Graph

86 Commits

Author SHA1 Message Date
3dd9fae202 Use /utf-8 for Windows cl builds 2025-08-19 19:51:58 -04:00
0fc5eb8dd9 Add fmtlib to scons 2025-08-19 19:51:58 -04:00
6b98992920 win-scons CI use windows-2022 2025-07-03 07:29:45 -04:00
f73af7d243 Don't call fix-rpaths.py if app didn't build (#753) 2025-06-02 11:42:14 -05:00
f6be98acfb Fix win-scons CI (#531)
* scons follow reference to c++ compiler
* don't worry about testing C compiler
* on failure, compile test program
* fix windows DEBUG definition flag
* add source file to win-scons SConscript

This fixes #514
2025-01-22 09:14:24 -05:00
b05f9ffd34 keg-only pinned libs have different install paths 2025-01-14 13:41:37 -05:00
129d9417ab mac-scons install SFML@2 2025-01-14 13:41:37 -05:00
50e353426e scons define a DEBUG flag 2024-11-30 22:52:53 -05:00
dd347a5f79 replace the debug flag with a release flag 2024-11-30 17:58:42 -05:00
f3e83290cb make scons build debug by default 2024-11-30 17:58:42 -05:00
3296226a6d fix boost auto-link breaking some win scons builds 2024-11-01 19:29:12 -04:00
787b613c07 d is the debug suffix for zlib built from source 2024-11-01 00:55:26 -04:00
8a522bdcbf Fix #444: win-scons include Visual Studio debug symbols 2024-09-17 20:48:32 -04:00
ee9d06356b call fix-rpaths after mac builds 2024-09-15 22:15:48 -04:00
71416f6fc5 define new GIT_ values blank when .git is missing 2024-09-15 22:14:53 -04:00
66aeb48a37 allow no tags 2024-09-15 22:14:53 -04:00
640492a428 record the git repo 2024-09-15 22:14:53 -04:00
c371aac84b last element of tags output can be empty 2024-09-15 22:14:53 -04:00
2b718f080d define GIT_STATUS as either 'clean' or 'modified' 2024-09-15 22:14:53 -04:00
fed420d1f5 note duplicated gitrev build process 2024-09-15 22:14:53 -04:00
63fa57165f search for SFML libraries with -d suffix
The oprypin/install-sfml github action installs debug binaries
with a -d suffix. This change makes the cboe build compatible
with that github action.
2024-09-10 22:18:23 -04:00
945c9d3105 check for zlib consistently with other lib checks
For platforms where zlib isn't installed by default, this change
ensures that zlib gets bundled in the output
2024-09-10 22:18:23 -04:00
3e5c4b3701 bundle .framework dependencies while keeping symlinks intact 2024-09-10 22:18:23 -04:00
d5753e18d1 add comment for readability of mac bundling logic 2024-09-10 22:18:23 -04:00
ec0cc25a86 bundle .frameworks from deps/lib 2024-09-07 20:02:30 -04:00
43346df516 stricter check for whether lib is a .framework 2024-09-07 20:02:30 -04:00
d60a12c070 Fix include path in SConstruct
Fix the use-case where header files are put directly in deps/include, which was straight-up broken
2024-09-07 19:25:21 -04:00
d74b11aa31 Reform command-line handling to use Clara, which is bundled with Catch 2024-08-22 23:21:29 -04:00
5b686595f3 mac don't try to install resources to excluded partial build targets 2024-08-01 20:08:09 -04:00
31dcb26d9d WIP encode and decode save files in action logs 2024-07-28 17:07:33 -04:00
b37c8e8532 add cppcodec header library for base64 2024-07-28 17:07:33 -04:00
9e3a50597b all scons platforms add src include directories 2024-07-28 17:07:33 -04:00
73fc5be123 More homebrew search paths in Mac Scons 2024-06-19 21:13:55 -06:00
4a7d145168 Fix win scons (#359)
* fix a link flag
* another hack to find weirdly named libraries
* Fix handling VCRedistInstall.exe
* add src folders to win-scons include paths
* use path.join
* more weird library suffixes
* fix old python syntax in an SConscript file
* find vcpkg libraries and headers
* add icon dir to windows include paths
* remove non-recursive os.listdir line
* remove bad lib paths
* tools build with env["bits"]
* hard-code vcvarsall.bat path, with a note
* pass in other lib paths
* fix syntax without trying to use f-strings
* more bundled libs on windows
* add bin folders for windows installation to find dlls
* fix CheckLib stuff
* test scons pass X86 correctly
* make 64-bit builds the default for scons
* add package flag for building installers
2024-06-12 13:52:19 -04:00
cfea88d59c use path.join instead of + 2024-05-30 20:37:22 -06:00
11451a731d print a note about .sconsign.dblite on clean 2024-05-30 20:15:45 -06:00
bceb8f478d use correct debug build flags (fix #343) 2024-05-30 20:15:45 -06:00
1249f4b21d when building tests, make sure to clone Catch2 2024-05-30 20:15:45 -06:00
826ca1bc95 allow specifying partial build targets (fix #52) 2024-05-30 20:15:23 -06:00
ee538ca30d linux: clone and build TGUI submodule if necessary 2024-05-30 20:02:43 -06:00
8af5a9e1ca Update and fix Mac CI builds
- GitHub discontinued Actions runners for macos-10 and macos-11, so we
  build cboe on macos-12 now
- The path to Xcode.app has changed
- mac scons build wanted a new include statement for vector
- hint scons to look for boost 1.85, not 1.58.
2024-05-29 19:39:03 -04:00
1bb0927ecb Update and fix Windows CI builds
- boost-spirit dependency needed to be installed
- Visual Studio wanted boost/filesystem.hpp included in more places
- a deprecated enum was removed from new versions of boost, so we use
  its replacement enum now
- vcpkg repository is now pinned to a commit where boost 1.84 libraries
  work smoothly, there should be no more surprises
- vcpkg dependencies now cache, so successive CI runs are dramatically
  faster
- for win-scons, we need to use 'call' in our batch script to source
  vcvarsall.bat
- I updated the includepath and libpath we pass to win-scons to match
  reality, but it still can't find any vcpkg libraries. This will need
  further sleuthing
2024-05-29 19:39:03 -04:00
5c0e60711c CI: Enable the mac-scons build 2023-01-21 15:55:58 -05:00
e1d6fe1d12 scons: Missed some things in the Python2to3 update 2023-01-21 15:55:58 -05:00
88b756ab50 scons: Don't treat all source dirs as part of include path 2023-01-05 19:29:16 -05:00
4b336d06fb add Catch2 to scons build 2023-01-05 02:10:20 -05:00
x-qq
55a105a0f6 make the game buildable on linux (#283)
- Scons -> python3
- include issues
2022-03-13 15:38:22 -04:00
xq
1ca0002d19 remove usage of boost threads in SConstruct 2020-02-10 08:23:20 +02:00
29ef8b9c1e Refactor the game event loop and add menus to the Linux build
Patch from @x-qq
Addresses #195
2020-01-25 17:57:32 -05:00
6d5b484ecd Scons: debug builds should be unoptimized 2020-01-19 15:39:42 -05:00