symlinking library headers for better portability
This commit is contained in:
parent
d04b700809
commit
55b9b9d4fa
28 changed files with 645 additions and 0 deletions
19
games/endlauncher/CMakeLists.txt
Normal file
19
games/endlauncher/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.20)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-std=c++17 -g -Wno-error -O0")
|
||||
file(GLOB_RECURSE ENDLAUNCHER "src/*.cpp")
|
||||
add_executable(endlauncher ${ENDLAUNCHER})
|
||||
|
||||
set_target_properties(endlauncher PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/built/launcher/${PLATFORM_DIR}"
|
||||
)
|
||||
target_link_directories(
|
||||
endlauncher PUBLIC
|
||||
"${CMAKE_SOURCE_DIR}/link")
|
||||
target_link_libraries(endlauncher PRIVATE
|
||||
"${CMAKE_SOURCE_DIR}/link/libenginend.so"
|
||||
curl zip
|
||||
)
|
||||
target_include_directories(endlauncher PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue