Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ endif()
option(FGE_BUILD_EXAMPLES "Build examples" ON)
option(FGE_BUILD_EXTENSIONS "Build extensions (see extensions/ directory)" ON)
option(FGE_BUILD_TESTS "Build tests" ON)
option(FGE_BUILD_TOOLS "Build tools (see tools/ directory)" ON)

option(FGE_ENABLE_SERVER_NETWORK_RANDOM_LOST "enable/disable random packet lost for server" OFF)
option(FGE_ENABLE_CLIENT_NETWORK_RANDOM_LOST "enable/disable random packet lost for client" OFF)
Expand Down Expand Up @@ -566,6 +567,11 @@ add_dependencies(FgeServerExeDeps ResourcesSymlink)
set(FGE_CLIENT_LIBS SDL3::SDL3 SDL3_image::SDL3_image SDL3_mixer::SDL3_mixer ${FGE_LIB_NAME})
set(FGE_SERVER_LIBS SDL3::SDL3 SDL3_image::SDL3_image ${FGE_SERVER_LIB_NAME})

#Tools
if (FGE_BUILD_TOOLS)
add_subdirectory(tools)
endif()

#Tests
if (FGE_BUILD_TESTS)
enable_testing()
Expand Down
2 changes: 2 additions & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
add_executable(fgeDeploy deploy/main.cpp)
install(TARGETS fgeDeploy RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
Loading
Loading