aboutsummaryrefslogtreecommitdiff
path: root/test.build
diff options
context:
space:
mode:
Diffstat (limited to 'test.build')
-rw-r--r--test.build20
1 files changed, 20 insertions, 0 deletions
diff --git a/test.build b/test.build
new file mode 100644
index 0000000..f34a1e7
--- /dev/null
+++ b/test.build
@@ -0,0 +1,20 @@
+
+
+rule c_COMPILER
+ command = 'cc' '$ARGS' '-c' '$in' '-o' '$out'
+
+rule cpp_COMPILER
+ command = 'c++' '$ARGS' '-c' '$in' '-o' '$out'
+ depfile = $out.d
+
+rule BUILD_EXEC
+ command = 'c++' '$ARGS' '-o' '$out' '$in' '$LINK_ARGS' '$aliasing'
+ depfile = $out.d
+
+build test@exe/main.cpp.o: cpp_COMPILER ../../main.cpp
+ ARGS = $globalIncDir -std=c++14 -pedantic -fpie -MMD -MP '-Itest@exe' '-I..' -Wall -Wextra -Werror=return-type -fdiagnostics-show-option '-fdiagnostics-color=always' '-pipe' '-D_FILE_OFFSET_BITS=64' '-Winvalid-pch' -fstack-protector '-Og' -fexceptions -Wnon-virtual-dtor -g3 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables
+
+build test: BUILD_EXEC test@exe/main.cpp.o
+ ARGS = $globalIncDir -std=c++14 -pedantic -fpie -MMD -MP '-Itest@exe' '-I..' -Wall -Wextra -Werror=return-type -fdiagnostics-show-option '-fdiagnostics-color=always' '-pipe' '-D_FILE_OFFSET_BITS=64' '-Winvalid-pch' -fstack-protector '-Og' -fexceptions -Wnon-virtual-dtor -g3 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fasynchronous-unwind-tables
+
+