mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
20 lines
460 B
Text
20 lines
460 B
Text
|
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
|
||
|
project(Codegen LANGUAGES C CXX)
|
||
|
|
||
|
set(CMAKE_CXX_STANDARD 17)
|
||
|
|
||
|
add_subdirectory(Broma)
|
||
|
|
||
|
file(GLOB SOURCES
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp
|
||
|
)
|
||
|
|
||
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
||
|
target_link_libraries(Codegen PRIVATE fmt::fmt Broma)
|
||
|
target_include_directories(Codegen PRIVATE
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||
|
)
|
||
|
|
||
|
target_precompile_headers(Codegen PRIVATE
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/src/Shared.hpp
|
||
|
)
|