diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 00:39:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 00:39:53 +0000 |
commit | 669cdbc6e606313efe1a38caba7cb10d3b2f23fe (patch) | |
tree | 0e73ed38a241794d2dc7674f12800a39298f6c79 /Jamroot.jam | |
parent | Include stb directly (diff) | |
download | ilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.tar.bz2 ilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.tar.xz ilt-669cdbc6e606313efe1a38caba7cb10d3b2f23fe.zip |
Compile generated/external code as release
Moves stb stuff to .c then all .ll and .c built release mode, neatly disables all the warnings
Diffstat (limited to 'Jamroot.jam')
-rw-r--r-- | Jamroot.jam | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index fdd08cd..62032d9 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -70,7 +70,14 @@ run application/main.cpp ; lib ilt : - [ glob-tree *.cpp *.c *.vs *.fs *.ll : bin test ] + [ glob-tree *.cpp *.vs *.fs : bin test ] + [ lib generated : [ glob-tree *.ll *.c ] : + <include>. + <include>lib + <variant>release + <link>static + <cflags>-fPIC + ] : <include>. <include>lib |