setting up the launcher now

This commit is contained in:
kin fuyuki 2025-12-21 10:08:50 -03:00
commit 1051610ffa
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
30 changed files with 417 additions and 39 deletions

View file

@ -0,0 +1,22 @@
cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_FLAGS "-std=c++17 -g -Wno-error")
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"
"${CMAKE_SOURCE_DIR}/link/libdesktopraylib.so"
curl zip
)
target_include_directories(endlauncher PUBLIC
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/lib/raylib/build/raylib/include
${CMAKE_SOURCE_DIR}/engine/include
)