eco2d/CMakeLists.txt

18 lines
543 B
CMake
Raw Normal View History

2021-01-11 19:27:26 +00:00
cmake_minimum_required(VERSION 3.0)
2021-01-10 12:23:11 +00:00
project(eco2d)
2021-01-19 09:44:43 +00:00
include(cmake/utils.cmake)
2021-01-10 12:23:11 +00:00
set(CMAKE_C_STANDARD 11)
2021-01-23 18:24:52 +00:00
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/)
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-19 09:57:08 +00:00
include_directories(code/common code/vendors code/vendors/flecs)
2021-01-10 12:42:56 +00:00
2021-01-19 09:44:43 +00:00
add_subdirectory(code/common)
add_subdirectory(code/vendors)
2021-01-10 16:42:01 +00:00
add_subdirectory(code/apps/client)
add_subdirectory(code/apps/server)