2021-01-11 19:27:26 +00:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
2021-01-10 12:23:11 +00:00
|
|
|
project(eco2d)
|
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
2021-01-11 13:47:14 +00:00
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/)
|
2021-01-11 20:08:16 +00:00
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/)
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR})
|
|
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR})
|
2021-01-10 12:23:11 +00:00
|
|
|
|
2021-01-11 20:08:16 +00:00
|
|
|
include_directories(eco2d-cli code/vendors code/common)
|
2021-01-10 16:52:20 +00:00
|
|
|
include_directories(eco2d-client code/vendors code/common)
|
|
|
|
include_directories(eco2d-server code/vendors code/common)
|
2021-01-10 12:42:56 +00:00
|
|
|
|
2021-01-10 16:42:01 +00:00
|
|
|
add_subdirectory(code/apps/client)
|
|
|
|
add_subdirectory(code/apps/server)
|