22 lines
352 B
CMake
22 lines
352 B
CMake
file(GLOB_RECURSE SANDBOX_RECURSE
|
|
CONFIGURE_DEPENDS
|
|
src/*.cpp
|
|
)
|
|
|
|
add_executable(Sandbox
|
|
${SANDBOX_RECURSE}
|
|
)
|
|
|
|
target_include_directories(Sandbox
|
|
PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}/src
|
|
)
|
|
|
|
target_link_libraries(Sandbox
|
|
PRIVATE
|
|
DeerithServer
|
|
)
|
|
|
|
target_compile_definitions(Sandbox PRIVATE
|
|
$<$<CONFIG:Debug>:DEBUG>
|
|
) |