summaryrefslogtreecommitdiff
path: root/libcppbuild.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcppbuild.h')
-rw-r--r--libcppbuild.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libcppbuild.h b/libcppbuild.h
index a052ac8..5b442f8 100644
--- a/libcppbuild.h
+++ b/libcppbuild.h
@@ -5,8 +5,17 @@
#include <vector>
//#include <source_location>
+enum class TargetType
+{
+ Auto, // Default - deduce from target name
+ Executable,
+ StaticLibrary,
+ DynamicLibrary,
+};
+
struct BuildConfiguration
{
+ TargetType type{TargetType::Auto};
std::string target;
std::vector<std::string> sources;
std::vector<std::string> depends;