2022-01-24 03:28:16 +00:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
2022-01-25 03:46:29 +00:00
|
|
|
project(Laika)
|
|
|
|
|
|
|
|
# Set the project as the default startup project for VS
|
|
|
|
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT Laika)
|
|
|
|
|
|
|
|
# Output binaries to the bin folder in the source directory
|
|
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
|
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
|
2022-01-24 03:28:16 +00:00
|
|
|
|
|
|
|
# compile laikalib, cnc & bot
|
|
|
|
add_subdirectory(lib)
|
|
|
|
add_subdirectory(cnc)
|
|
|
|
add_subdirectory(bot)
|