84 Commits

Author SHA1 Message Date
Patrick Wuttke
8b5d66dbec Forward CCFLAGS to Visual Studio project for IntelliSense. 2025-07-14 18:51:41 +02:00
Patrick Wuttke
18293fdcf7 Fixed target info dumping. 2025-07-08 16:50:06 +02:00
Patrick Wuttke
8371f96d4a Merge branch 'master' of https://git.mewin.de/mewin/scons-plus-plus 2025-07-08 14:34:23 +02:00
Patrick Wuttke
af53bf6084 Added Visual Studio project generation. 2025-07-08 14:34:20 +02:00
0ac1621494 Added option for projects to add own variables. 2025-07-06 10:40:33 +02:00
8770bd97dc Made preprocessor with MSVC behave correctly. 2025-06-24 15:21:49 +02:00
68f20bcf2d Disabled parentheses-equality warning on CLang vecause it was producing false positives. 2025-06-23 00:25:10 +02:00
e583c5ef6c Added module type and module configuration. 2025-06-19 16:43:53 +02:00
c3b5244eac Replaced --dump_env with --dump and --dump_format that allow dumping environment and config, both as text or json. And added _info() and env.Info() function for printing that reacts to SCons' -s flag. 2025-06-19 13:33:21 +02:00
2769fd801f Added file_size and file_content_hex Jinja filters.
Added check if Jinja module exists and appropriate error message to
project generation.
2025-03-28 11:35:59 +01:00
1401fdea90 Next attempt of adding build type to executable and library names. 2025-03-14 22:02:40 +01:00
Patrick Wuttke
3a3c79d240 Revert "Updated to include build type and variant in binary names, so they don't need to be rebuilt everytime the configuration is changed."
Modifying the suffix variables broke the library file detection, at least on Windows.

This reverts commit e6e7dbe6425e1b60cf6383242453d8fc8db8da1e.
2025-03-14 09:49:21 +01:00
e6e7dbe642 Updated to include build type and variant in binary names, so they don't need to be rebuilt everytime the configuration is changed. 2025-03-13 23:42:58 +01:00
9e5fc05f4f Introduced recipe repositories. 2025-03-13 22:58:49 +01:00
Patrick Wuttke
4082f8cb22 Added build type to object suffix so switching between configs is a lot quicker. 2025-03-13 15:00:24 +01:00
Patrick Wuttke
0bec9f7062 Added project template for VSCode (only Windows for now). 2025-03-13 10:42:48 +01:00
283aa0f99c Added way for dependencies to use options and fixed compilation of ImGui with SDL3 backend. 2025-03-13 09:57:39 +01:00
ae739b9946 Fixed Release and Release_Debug build on windows. 2025-03-11 17:46:57 +01:00
b034e87aaf Properly disable exceptions in MSVC. 2025-03-07 11:00:17 +01:00
5c6a8a1cc6 Fixed issue with dependency injection not working due to the 'add target via name in dependencies' shortcut :/. 2025-03-02 22:20:21 +01:00
42dada23c9 Added CXX_NO_EXCEPTIONS config to disable exceptions. 2025-03-02 16:00:12 +01:00
c883f3c1c7 Added DXC recipe. 2025-01-19 01:17:35 +01:00
bca2398828 Added recipes for some Linux system libraries. 2025-01-12 13:11:43 +01:00
10a5239b7f Fixed default value for enable_asan. 2025-01-09 17:56:28 +01:00
0b8d115907 Added option for address sanitization on MSVC. 2024-12-26 14:48:18 +01:00
b546931c09 Added libraries to automatic CLion project generation. 2024-12-13 00:52:10 +01:00
7c4e403747 Fixed up Clang warnings. 2024-12-08 22:38:52 +01:00
c24c864915 Disabled Clang 'missing-field-initializers' warning. 2024-12-06 20:36:37 +01:00
946cfc57ce Fixed wrong project name used when generating CLion project. 2024-10-27 13:52:00 +01:00
a479e90335 Fixed compilation with MSVC. 2024-10-23 23:48:46 +02:00
f2dc9872f7 Automatically apply patch when compiling SDL3. 2024-10-13 13:36:01 +02:00
2b05834798 Allow specifying a library from the current project as a dependency. 2024-10-12 12:30:21 +02:00
e3b3fd8f7c Save and reuse UUIDs between project generations. 2024-10-11 16:57:31 +02:00
329278c5f5 Fixed generated CLion project for platforms that use PROGPREFIX or PROGSUFFIX (e.g. Windows). 2024-10-11 10:21:21 +02:00
a0bbb46e51 Cleaned up/updated CLion project generation code and templates. 2024-10-10 23:23:29 +02:00
c6bba0e440 Added generation of CLion projects. 2024-10-10 00:06:58 +02:00
0a29b41639 Fixed (hopefully) the depends functionality. 2024-09-20 00:14:17 +02:00
ae870e798d Added SHOW_INCLUDES debug setting (only MSVC for now). 2024-09-12 15:09:06 +02:00
1b8d6e175b Added options to version specs and allow specifying a git ref to build instead of a version. 2024-09-11 09:00:03 +02:00
bdf063a16c Added openssl recipe. 2024-09-09 21:52:57 +02:00
6cd076394d Added recipe for winsock2 and target_os to dependency conditions. 2024-09-09 21:52:57 +02:00
eb044b6d2f Fixed compilation with MSVC. 2024-09-09 21:52:56 +02:00
e6adeb3a20 Moved check of SYSTEM_CACHE_DIR accessibility to before it is used. 2024-09-09 21:52:13 +02:00
fa83ff4581 Adjusted error description to make more sense. 2024-09-09 21:51:45 +02:00
4e579121db Fixed compilation with MSVC. 2024-09-09 21:51:36 +02:00
cd727e5a1d Update to new recipe system (S++ 2.0). 2024-09-09 21:50:47 +02:00
6f83b68788 Some more work on the new dependency resolution system. 2024-09-09 21:50:47 +02:00
17ee9777ed Some tests. 2024-09-09 21:50:47 +02:00
ecb8ea9a74 Allow settings COMPILATIONDB_FILTER_FILES via config. 2024-08-18 11:15:32 +02:00
a3426f1132 Enable experimental library features (jthread) for clang. 2024-08-18 09:58:30 +02:00