80 setup LuaJIT build environment #94
@@ -8,6 +8,10 @@ option(SANITIZER "ADDRESS or THREAD" "THREAD")
|
|||||||
|
|
||||||
# all targets should link to this to use common compile options
|
# all targets should link to this to use common compile options
|
||||||
add_library(nf7_config INTERFACE EXCLUDE_FROM_ALL)
|
add_library(nf7_config INTERFACE EXCLUDE_FROM_ALL)
|
||||||
|
target_include_directories(nf7_config
|
||||||
|
INTERFACE
|
||||||
|
${PROJECT_SOURCE_DIR}
|
||||||
|
)
|
||||||
target_compile_options(nf7_config INTERFACE
|
target_compile_options(nf7_config INTERFACE
|
||||||
$<$<CXX_COMPILER_ID:MSVC>:
|
$<$<CXX_COMPILER_ID:MSVC>:
|
||||||
/W4
|
/W4
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
add_library(nf7_iface)
|
add_library(nf7_iface)
|
||||||
target_include_directories(nf7_iface PUBLIC ${PROJECT_SOURCE_DIR})
|
|
||||||
target_link_libraries(nf7_iface
|
target_link_libraries(nf7_iface
|
||||||
PRIVATE
|
PUBLIC
|
||||||
git_hash
|
git_hash
|
||||||
nf7_config
|
nf7_config
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user