summaryrefslogtreecommitdiff
path: root/ctor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ctor.cc')
-rw-r--r--ctor.cc24
1 files changed, 15 insertions, 9 deletions
diff --git a/ctor.cc b/ctor.cc
index a7c52bf..445f18a 100644
--- a/ctor.cc
+++ b/ctor.cc
@@ -1,11 +1,11 @@
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
-#include "libctor.h"
+#include <libctor.h>
namespace
{
-BuildConfigurations ctorConfigs()
+BuildConfigurations ctorConfigs(const Settings& settings)
{
return
{
@@ -16,23 +16,29 @@ BuildConfigurations ctorConfigs()
"src/build.cc",
"src/configure.cc",
"src/execute.cc",
+ "src/externals_manual.cc",
"src/libctor.cc",
"src/rebuild.cc",
"src/task.cc",
"src/task_ar.cc",
+ "src/task_fn.cc",
"src/task_cc.cc",
"src/task_ld.cc",
"src/task_so.cc",
"src/tasks.cc",
+ "src/tools.cc",
+ "src/util.cc",
"src/unittest.cc",
},
- .cxxflags = {
- "-std=c++17",
- "-O3",
- "-s",
- "-Wall",
- "-Werror",
- "-Isrc",
+ .flags = {
+ .cxxflags = {
+ "-std=c++20",
+ "-O3",
+ "-g",
+ "-Wall",
+ "-Werror",
+ "-Isrc",
+ },
},
}
};