aboutsummaryrefslogtreecommitdiff
path: root/test.build
blob: f34a1e7e4eeeb06eed667db7bd86fb7a19c51b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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