mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-16 15:17:13 +02:00
Plugin development mode.
Temporary workaround untill a better approach is implemented.
This commit is contained in:
@ -22,6 +22,10 @@ else()
|
||||
endif()
|
||||
# Set library compiler options
|
||||
target_compile_definitions(Sqrat PUBLIC SCRAT_USE_EXCEPTIONS=1 SCRAT_USE_CXX11_OPTIMIZATIONS=1)
|
||||
# Switch to plugin-development mode
|
||||
if(PLUGIN_DEVEL)
|
||||
target_compile_definitions(Sqrat PUBLIC SQMOD_PLUGIN_API=1)
|
||||
end()
|
||||
# Set specific compiler options
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
#target_compile_options(Sqrat PRIVATE -w
|
||||
|
Reference in New Issue
Block a user