diff options
Diffstat (limited to 'ctor.cc')
-rw-r--r-- | ctor.cc | 39 |
1 files changed, 39 insertions, 0 deletions
@@ -0,0 +1,39 @@ +#include "libctor.h" + +namespace +{ +BuildConfigurations ctorConfigs() +{ + return + { + { + .type = TargetType::StaticLibrary, + .target = "libctor.a", + .sources = { + "src/build.cc", + "src/configure.cc", + "src/execute.cc", + "src/libctor.cc", + "src/rebuild.cc", + "src/task.cc", + "src/task_ar.cc", + "src/task_cc.cc", + "src/task_ld.cc", + "src/task_so.cc", + "src/tasks.cc", + }, + .cxxflags = { + "-std=c++17", + "-O3", + "-s", + "-Wall", + "-Werror", + "-Isrc", + }, + } + }; +} +} + +// Convenience macro +REG(ctorConfigs); |