mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
scripts now link properly with server_zone
This commit is contained in:
parent
11f32f3bd6
commit
7e6136e48a
2 changed files with 3 additions and 2 deletions
|
@ -10,9 +10,8 @@ include_directories("../../src/servers/Server_Zone/")
|
|||
foreach(_sourcefile "${SCRIPT_FILES}")
|
||||
get_filename_component(_file "${_sourcefile}" NAME_WE)
|
||||
add_library("${_file}" MODULE "${_sourcefile}" "${SCRIPT_INCLUDE_FILES}")
|
||||
message("adding library ${_file}")
|
||||
|
||||
add_dependencies("${_file}" server_zone)
|
||||
target_link_libraries("${_file}" server_zone)
|
||||
|
||||
set_target_properties("${_file}" PROPERTIES
|
||||
CXX_STANDARD 14
|
||||
|
|
|
@ -46,6 +46,8 @@ set_target_properties(server_zone PROPERTIES
|
|||
CXX_STANDARD 14
|
||||
CXX_STANDARD_REQUIRED ON
|
||||
CXX_EXTENSIONS ON
|
||||
ENABLE_EXPORTS ON
|
||||
WINDOWS_EXPORT_ALL_SYMBOLS ON
|
||||
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
RUNTIME_OUTPUT_DIRECTORY_RELEASE "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${CMAKE_CURRENT_SOURCE_DIR}/../../../bin/"
|
||||
|
|
Loading…
Add table
Reference in a new issue