make us build in the right place
This commit is contained in:
parent
a93aa69756
commit
fa2079fca1
|
@ -11,7 +11,6 @@ set(CMAKE_CXX_EXTENSIONS ON)
|
|||
|
||||
add_custom_target(Work ALL DEPENDS configs.hh)
|
||||
|
||||
|
||||
add_executable(teller teller.cc ext/lpm.c)
|
||||
target_link_libraries(teller -lpcaudio -lpthread)
|
||||
|
||||
|
@ -23,7 +22,7 @@ add_test(testname testrunner)
|
|||
|
||||
add_custom_command(
|
||||
OUTPUT configs.hh
|
||||
COMMAND ./make-built-in-config.sh
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/make-built-in-config.sh ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DEPENDS teller.conf trackers.conf
|
||||
)
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
cd $1
|
||||
(
|
||||
echo \#pragma once
|
||||
echo 'constexpr char tellertoml[]=R"('
|
||||
|
|
Loading…
Reference in New Issue