80 setup LuaJIT build environment #94

Merged
falsycat merged 5 commits from feature/80-lua into main 2023-07-23 12:54:57 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit fde7d40e87 - Show all commits

View File

@@ -8,6 +8,10 @@ option(SANITIZER "ADDRESS or THREAD" "THREAD")
# all targets should link to this to use common compile options
add_library(nf7_config INTERFACE EXCLUDE_FROM_ALL)
target_include_directories(nf7_config
INTERFACE
${PROJECT_SOURCE_DIR}
)
target_compile_options(nf7_config INTERFACE
$<$<CXX_COMPILER_ID:MSVC>:
/W4

View File

@@ -1,7 +1,6 @@
add_library(nf7_iface)
target_include_directories(nf7_iface PUBLIC ${PROJECT_SOURCE_DIR})
target_link_libraries(nf7_iface
PRIVATE
PUBLIC
git_hash
nf7_config
)