diff options
Diffstat (limited to 'libcppbuild.h')
-rw-r--r-- | libcppbuild.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libcppbuild.h b/libcppbuild.h index 9ea3fb1..d0a0080 100644 --- a/libcppbuild.h +++ b/libcppbuild.h @@ -26,15 +26,15 @@ enum class Language enum class OutputSystem { - Target, // Output for the target system - BuildHost, // Internal tool during cross-compilation + Host, // Output for the target system + Build, // Internal tool during cross-compilation }; struct BuildConfiguration { TargetType type{TargetType::Auto}; Language language{Language::Auto}; - OutputSystem system{OutputSystem::Target}; + OutputSystem system{OutputSystem::Host}; std::string target; std::vector<std::string> sources; // source list std::vector<std::string> depends; // internal dependencies @@ -59,15 +59,15 @@ namespace cfg { constexpr auto builddir = "builddir"; -constexpr auto target_cc = "target-cc"; -constexpr auto target_cpp = "target-cpp"; -constexpr auto target_ar = "target-ar"; -constexpr auto target_ld = "target-ld"; - constexpr auto host_cc = "host-cc"; -constexpr auto host_cpp = "host-cpp"; +constexpr auto host_cxx = "host-cpp"; constexpr auto host_ar = "host-ar"; constexpr auto host_ld = "host-ld"; + +constexpr auto build_cc = "build-cc"; +constexpr auto build_cxx = "build-cpp"; +constexpr auto build_ar = "build-ar"; +constexpr auto build_ld = "build-ld"; } const std::map<std::string, std::string>& configuration(); |