CMakeLists.txt 392 B

12345678910
  1. cmake_minimum_required(VERSION 3.15)
  2. project(gblibstdc++)
  3. set(CMAKE_CXX_STANDARD 20)
  4. add_library(gblibstdc++ STATIC src/stdc++.cpp)
  5. file(GLOB_RECURSE GBSTDLIBCPP_PUBLIC_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include)
  6. target_include_directories(gblibstdc++ PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
  7. set_target_properties(gblibstdc++ PROPERTIES PUBLIC_HEADER "${GBSTDLIBCPP_PUBLIC_HEADERS}")