simworld/CMakeLists.txt

13 lines
328 B
CMake

# CmakeLists.txt
cmake_minimum_required(VERSION 3.10)
project(simworld VERSION 0.0.1 LANGUAGES C)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -Wshadow -Wwrite-strings -Wstrict-prototypes -g")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_subdirectory(common)
add_subdirectory(server)
# add_subdirectory(client)