Beginning integrating with CMake
This commit is contained in:
parent
d039cf8ab0
commit
d09e4ca072
2 changed files with 17 additions and 0 deletions
7
CMakeLists.txt
Normal file
7
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
project(mcc VERSION 1.0.0 LANGUAGES CXX)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
||||||
10
src/CMakeLists.txt
Normal file
10
src/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
add_subdirectory(Core)
|
||||||
|
add_subdirectory(Network)
|
||||||
|
|
||||||
|
add_executable(mcc main.cpp)
|
||||||
|
|
||||||
|
target_link_libraries(mcc
|
||||||
|
PRIVATE
|
||||||
|
Core
|
||||||
|
Network
|
||||||
|
)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue