diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-29 17:16:47 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-10-29 17:16:47 +0100 |
| commit | 0b3acb991f11d9ace340f75bc2f8a454ea385fae (patch) | |
| tree | 15d9a49af39febab9576174a445a557df4f80174 /kel_cpp_boilerplate/c++/blueprints/sconscript.hpp | |
| parent | dfc45729d342f6f4d4d9ea39649c49b49fa178c6 (diff) | |
| download | apps-dev_tools-0b3acb991f11d9ace340f75bc2f8a454ea385fae.tar.gz | |
Got to a first satisfying state for this boilerplate generator
Diffstat (limited to 'kel_cpp_boilerplate/c++/blueprints/sconscript.hpp')
| -rw-r--r-- | kel_cpp_boilerplate/c++/blueprints/sconscript.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kel_cpp_boilerplate/c++/blueprints/sconscript.hpp b/kel_cpp_boilerplate/c++/blueprints/sconscript.hpp index e1c8c8b..bd25fdd 100644 --- a/kel_cpp_boilerplate/c++/blueprints/sconscript.hpp +++ b/kel_cpp_boilerplate/c++/blueprints/sconscript.hpp @@ -2,11 +2,10 @@ #include <string_view> -constexpr std::string_view sconscript_dir_name = "app/c++"; -constexpr std::string_view sconscript_file_name = "SConscript"; +constexpr std::string_view sconscript_file_path = "app/c++/SConscript"; -constexpr std::string_view sconscript_file_content = R"( -#!/bin/false +constexpr std::string_view sconscript_file_content = +R"(#!/bin/false import os import os.path @@ -29,7 +28,7 @@ env.headers += program_env.headers; ## Static lib objects_static = [] program_env.add_source_files(objects_static, program_env.sources, shared=False); -env.binary = program_env.Program('#build/kel_cpp_boilerplate', [objects_static]); +env.binary = program_env.Program('#build/binary_change_in_sconscript', [objects_static]); # Set Alias env.Alias('binary', [env.binary]); |
