mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 01:18:01 -05:00
2c3520f454
this removes submodules and external libraries in the code in favor of importing them as CPM packages. CPM_SOURCE_CACHE is recommended as codegen has to readd two of the same dependencies
12 lines
No EOL
397 B
CMake
12 lines
No EOL
397 B
CMake
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
|
|
project(Broma LANGUAGES C CXX)
|
|
|
|
add_library(Broma ${CMAKE_CURRENT_SOURCE_DIR}/src/broma.cpp)
|
|
|
|
target_compile_features(Broma PRIVATE cxx_std_17)
|
|
|
|
target_include_directories(Broma PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
target_compile_definitions(Broma PUBLIC TAO_PEGTL_GHC_FILESYSTEM=1)
|
|
|
|
target_link_libraries(Broma taocpp::pegtl ghc_filesystem) |