164db664ef
* Remove non-pacman exercises. * Use vcpkg instead of conan ( make vcpkg a submodule) * Merge the readmem these will need to be improve later
16 lines
539 B
CMake
16 lines
539 B
CMake
#This needs to be set before project()
|
|
set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake
|
|
CACHE STRING "Vcpkg toolchain file")
|
|
|
|
cmake_minimum_required(VERSION 3.17)
|
|
project(modern_cpp_exercises )
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
add_subdirectory(lib)
|
|
add_subdirectory(src)
|
|
add_subdirectory(test)
|
|
|
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/maze.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/sprites32.png DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/bin)
|