From 0b3acb991f11d9ace340f75bc2f8a454ea385fae Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 29 Oct 2025 17:16:47 +0100 Subject: Got to a first satisfying state for this boilerplate generator --- kel_cpp_boilerplate/c++/blueprints/sconscript.hpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'kel_cpp_boilerplate/c++/blueprints/sconscript.hpp') 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 -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]); -- cgit v1.2.3