summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap.sh2
-rw-r--r--cppbuild.cc22
-rw-r--r--src/build.cc (renamed from build.cc)0
-rw-r--r--src/build.h (renamed from build.h)0
-rw-r--r--src/configure.cc (renamed from configure.cc)0
-rw-r--r--src/configure.h (renamed from configure.h)0
-rw-r--r--src/execute.cc (renamed from execute.cc)0
-rw-r--r--src/execute.h (renamed from execute.h)0
-rw-r--r--src/libcppbuild.cc (renamed from libcppbuild.cc)0
-rw-r--r--src/libcppbuild.h (renamed from libcppbuild.h)0
-rw-r--r--src/rebuild.cc (renamed from rebuild.cc)0
-rw-r--r--src/rebuild.h (renamed from rebuild.h)0
-rw-r--r--src/settings.h (renamed from settings.h)0
-rw-r--r--src/task.cc (renamed from task.cc)0
-rw-r--r--src/task.h (renamed from task.h)0
-rw-r--r--src/task_ar.cc (renamed from task_ar.cc)0
-rw-r--r--src/task_ar.h (renamed from task_ar.h)0
-rw-r--r--src/task_cc.cc (renamed from task_cc.cc)0
-rw-r--r--src/task_cc.h (renamed from task_cc.h)0
-rw-r--r--src/task_ld.cc (renamed from task_ld.cc)0
-rw-r--r--src/task_ld.h (renamed from task_ld.h)0
-rw-r--r--src/task_so.cc (renamed from task_so.cc)0
-rw-r--r--src/task_so.h (renamed from task_so.h)0
-rw-r--r--src/tasks.cc (renamed from tasks.cc)0
-rw-r--r--src/tasks.h (renamed from tasks.h)0
25 files changed, 12 insertions, 12 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 3605a51..e1ee5eb 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-g++ -std=c++17 -I. -pthread *.cc -o cppbuild
+g++ -std=c++17 -I. -Isrc -pthread src/*.cc cppbuild.cc -o cppbuild
diff --git a/cppbuild.cc b/cppbuild.cc
index c78def1..dc3ab19 100644
--- a/cppbuild.cc
+++ b/cppbuild.cc
@@ -10,17 +10,17 @@ BuildConfigurations cppbuildConfigs()
.type = TargetType::StaticLibrary,
.target = "libcppbuild.a",
.sources = {
- "build.cc",
- "configure.cc",
- "execute.cc",
- "libcppbuild.cc",
- "rebuild.cc",
- "task.cc",
- "task_ar.cc",
- "task_cc.cc",
- "task_ld.cc",
- "task_so.cc",
- "tasks.cc",
+ "src/build.cc",
+ "src/configure.cc",
+ "src/execute.cc",
+ "src/libcppbuild.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",
diff --git a/build.cc b/src/build.cc
index 445979e..445979e 100644
--- a/build.cc
+++ b/src/build.cc
diff --git a/build.h b/src/build.h
index 36e48ad..36e48ad 100644
--- a/build.h
+++ b/src/build.h
diff --git a/configure.cc b/src/configure.cc
index ab2f837..ab2f837 100644
--- a/configure.cc
+++ b/src/configure.cc
diff --git a/configure.h b/src/configure.h
index 95b6765..95b6765 100644
--- a/configure.h
+++ b/src/configure.h
diff --git a/execute.cc b/src/execute.cc
index bc4cd5f..bc4cd5f 100644
--- a/execute.cc
+++ b/src/execute.cc
diff --git a/execute.h b/src/execute.h
index f284230..f284230 100644
--- a/execute.h
+++ b/src/execute.h
diff --git a/libcppbuild.cc b/src/libcppbuild.cc
index d3d8a51..d3d8a51 100644
--- a/libcppbuild.cc
+++ b/src/libcppbuild.cc
diff --git a/libcppbuild.h b/src/libcppbuild.h
index d0a0080..d0a0080 100644
--- a/libcppbuild.h
+++ b/src/libcppbuild.h
diff --git a/rebuild.cc b/src/rebuild.cc
index 43c4c98..43c4c98 100644
--- a/rebuild.cc
+++ b/src/rebuild.cc
diff --git a/rebuild.h b/src/rebuild.h
index bc5d889..bc5d889 100644
--- a/rebuild.h
+++ b/src/rebuild.h
diff --git a/settings.h b/src/settings.h
index 6b8729f..6b8729f 100644
--- a/settings.h
+++ b/src/settings.h
diff --git a/task.cc b/src/task.cc
index 962a02b..962a02b 100644
--- a/task.cc
+++ b/src/task.cc
diff --git a/task.h b/src/task.h
index 98363a1..98363a1 100644
--- a/task.h
+++ b/src/task.h
diff --git a/task_ar.cc b/src/task_ar.cc
index 5568629..5568629 100644
--- a/task_ar.cc
+++ b/src/task_ar.cc
diff --git a/task_ar.h b/src/task_ar.h
index bfa21a2..bfa21a2 100644
--- a/task_ar.h
+++ b/src/task_ar.h
diff --git a/task_cc.cc b/src/task_cc.cc
index af9cf7a..af9cf7a 100644
--- a/task_cc.cc
+++ b/src/task_cc.cc
diff --git a/task_cc.h b/src/task_cc.h
index 0ce4947..0ce4947 100644
--- a/task_cc.h
+++ b/src/task_cc.h
diff --git a/task_ld.cc b/src/task_ld.cc
index 91f3316..91f3316 100644
--- a/task_ld.cc
+++ b/src/task_ld.cc
diff --git a/task_ld.h b/src/task_ld.h
index f56f00d..f56f00d 100644
--- a/task_ld.h
+++ b/src/task_ld.h
diff --git a/task_so.cc b/src/task_so.cc
index eaf6a85..eaf6a85 100644
--- a/task_so.cc
+++ b/src/task_so.cc
diff --git a/task_so.h b/src/task_so.h
index 864d108..864d108 100644
--- a/task_so.h
+++ b/src/task_so.h
diff --git a/tasks.cc b/src/tasks.cc
index 93e5a8b..93e5a8b 100644
--- a/tasks.cc
+++ b/src/tasks.cc
diff --git a/tasks.h b/src/tasks.h
index 119c7d6..119c7d6 100644
--- a/tasks.h
+++ b/src/tasks.h