diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-02 20:22:58 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-09-02 20:23:41 +0200 |
commit | 5529b296834965afd9736b941aa2c094ff2f4648 (patch) | |
tree | f2811d12f6967ba89610cb9eb92d237c29ec163b /ctor.cc | |
parent | 77582c4c6804dade46cc7bf991f48b00e1391eff (diff) |
Rename project to ctor.
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); |