diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 16:31:54 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-21 17:17:54 +0100 |
commit | cdd5198aa2b1062ae0aa61a7396a7535a4f80ace (patch) | |
tree | ce778f1e018845e8e16aacb333653685c15e3a4c /src/ctor.h | |
parent | e4ccfe780f52cdb6c0764074effcd60235d33762 (diff) |
Make sure libctor itself is built in the 'build' system and not 'host' system. Only detect tooling for the system/tools actually required in the tasks.msvc
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -201,7 +201,7 @@ struct build_configuration { std::string name; // Name - used for referring in other configurations. ctor::target_type type{ctor::target_type::automatic}; - ctor::output_system system{ctor::output_system::host}; + ctor::output_system system{ctor::output_system::build}; std::string target; // Output target file for this configuration std::vector<ctor::source> sources; // source list std::vector<std::string> depends; // internal target dependencies @@ -225,7 +225,7 @@ struct external_manual struct external_configuration { std::string name; // Name for configuration - ctor::output_system system{ctor::output_system::host}; + ctor::output_system system{ctor::output_system::build}; std::variant<ctor::external_manual> external; }; |