CMakeLists.txt 238 B

123456789101112
  1. cmake_minimum_required(VERSION 3.16)
  2. project(test)
  3. set(CMAKE_CXX_STANDARD 17)
  4. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  5. include_directories(lib)
  6. file(GLOB_RECURSE SOURCES "lib/*.cpp" "src/*.cpp" "main.cpp")
  7. add_executable(test ${SOURCES})