blob: 7610cf0fdabe143ee8ecc1a781173a6988a9246f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
find_package(toml11 REQUIRED)
find_package(Boost CONFIG COMPONENTS program_options REQUIRED)
add_executable(katja-cli main.cpp)
target_sources(katja-cli PUBLIC FILE_SET all_my_modules TYPE CXX_MODULES FILES
command_line.cpp configuration.cpp
)
target_include_directories(katja-cli PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(katja-cli
PUBLIC katja
PRIVATE toml11::toml11
PRIVATE Boost::program_options
)
set_target_properties(katja-cli PROPERTIES RUNTIME_OUTPUT_NAME katja)
|