mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Set runtime directories for projects
Adjust the runtime directories, so they are identical to pre-cmake port.
This commit is contained in:
parent
ede19e0472
commit
b57eb0c0c3
@ -63,6 +63,8 @@ target_link_libraries( ${PROJECT_NAME} PRIVATE
|
|||||||
"libcurl"
|
"libcurl"
|
||||||
"libprotobuf"
|
"libprotobuf"
|
||||||
"libspdlog"
|
"libspdlog"
|
||||||
|
"libdetour"
|
||||||
|
"navdebugutils"
|
||||||
|
|
||||||
"networksystem"
|
"networksystem"
|
||||||
"pluginsystem"
|
"pluginsystem"
|
||||||
@ -75,12 +77,6 @@ target_link_libraries( ${PROJECT_NAME} PRIVATE
|
|||||||
"vscript"
|
"vscript"
|
||||||
"game"
|
"game"
|
||||||
)
|
)
|
||||||
if( NOT ${PROJECT_NAME} STREQUAL "client" )
|
|
||||||
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
|
||||||
"navdebugutils"
|
|
||||||
"libdetour"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if( NOT ${PROJECT_NAME} STREQUAL "dedicated" )
|
if( NOT ${PROJECT_NAME} STREQUAL "dedicated" )
|
||||||
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
||||||
@ -103,17 +99,18 @@ target_link_libraries( ${PROJECT_NAME} PRIVATE
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
end_sources()
|
|
||||||
|
|
||||||
if( ${PROJECT_NAME} STREQUAL "gamesdk" )
|
if( ${PROJECT_NAME} STREQUAL "gamesdk" )
|
||||||
|
end_sources()
|
||||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||||
"GAMESDK"
|
"GAMESDK"
|
||||||
)
|
)
|
||||||
elseif( ${PROJECT_NAME} STREQUAL "dedicated" )
|
elseif( ${PROJECT_NAME} STREQUAL "dedicated" )
|
||||||
|
end_sources()
|
||||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||||
"DEDICATED"
|
"DEDICATED"
|
||||||
)
|
)
|
||||||
elseif( ${PROJECT_NAME} STREQUAL "client" )
|
elseif( ${PROJECT_NAME} STREQUAL "client" )
|
||||||
|
end_sources( "game/bin/x64_retail/" )
|
||||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||||
"CLIENT_DLL"
|
"CLIENT_DLL"
|
||||||
)
|
)
|
||||||
|
@ -85,7 +85,7 @@ add_sources( SOURCE_GROUP "Utils/Include"
|
|||||||
"include/ValueHistory.h"
|
"include/ValueHistory.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
end_sources()
|
end_sources( "game/bin/" )
|
||||||
whole_program_optimization()
|
whole_program_optimization()
|
||||||
|
|
||||||
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
target_compile_definitions( ${PROJECT_NAME} PRIVATE
|
||||||
|
@ -26,10 +26,10 @@ add_sources( SOURCE_GROUP "Engine"
|
|||||||
|
|
||||||
add_sources( SOURCE_GROUP "Windows"
|
add_sources( SOURCE_GROUP "Windows"
|
||||||
"${ENGINE_SOURCE_DIR}/windows/console.cpp"
|
"${ENGINE_SOURCE_DIR}/windows/console.cpp"
|
||||||
"${ENGINE_SOURCE_DIR}/Windows/console.h"
|
"${ENGINE_SOURCE_DIR}/windows/console.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
end_sources()
|
end_sources( "game/bin/" )
|
||||||
|
|
||||||
set_target_properties( ${PROJECT_NAME} PROPERTIES OUTPUT_NAME
|
set_target_properties( ${PROJECT_NAME} PROPERTIES OUTPUT_NAME
|
||||||
"netcon32"
|
"netcon32"
|
||||||
|
@ -10,7 +10,7 @@ add_sources( SOURCE_GROUP "Core"
|
|||||||
"pluginsdk.h"
|
"pluginsdk.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
end_sources()
|
end_sources( "game/bin/x64_retail/plugins/" )
|
||||||
|
|
||||||
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
target_link_libraries( ${PROJECT_NAME} PRIVATE
|
||||||
"tier0"
|
"tier0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user