|
|
@ -377,6 +377,9 @@ if(WIN32)
|
|
|
|
set_target_properties(dfhack-client PROPERTIES COMPILE_FLAGS "/FI\"Export.h\"" )
|
|
|
|
set_target_properties(dfhack-client PROPERTIES COMPILE_FLAGS "/FI\"Export.h\"" )
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
set_target_properties(dfhack PROPERTIES COMPILE_FLAGS "-include Export.h" )
|
|
|
|
set_target_properties(dfhack PROPERTIES COMPILE_FLAGS "-include Export.h" )
|
|
|
|
|
|
|
|
# required because of protobuf headers
|
|
|
|
|
|
|
|
target_compile_options(dfhack
|
|
|
|
|
|
|
|
PUBLIC -Wno-deprecated-declarations -Wno-restrict)
|
|
|
|
set_target_properties(dfhack-client PROPERTIES COMPILE_FLAGS "-include Export.h" )
|
|
|
|
set_target_properties(dfhack-client PROPERTIES COMPILE_FLAGS "-include Export.h" )
|
|
|
|
add_library(dfhooks SHARED Hooks.cpp)
|
|
|
|
add_library(dfhooks SHARED Hooks.cpp)
|
|
|
|
target_link_libraries(dfhooks dfhack)
|
|
|
|
target_link_libraries(dfhooks dfhack)
|
|
|
|