-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
43 lines (38 loc) · 1.04 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required(VERSION 3.0.0)
project(GT6TG VERSION 0.1.0)
INCLUDE_DIRECTORIES(
$ENV{VCPKG_ROOT}/installed/x64-windows/include/
)
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
FIND_PACKAGE(ryml CONFIG REQUIRED)
FIND_PACKAGE(fmt CONFIG REQUIRED)
FIND_PACKAGE(Boost REQUIRED COMPONENTS filesystem)
FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options)
add_executable(GT6TG
src/main.cpp
src/Replacer.cpp
src/generator/Generator.cpp
src/generator/DictGenerator.cpp
src/generator/RuleGenerator.cpp
src/generator/Rule.cpp
src/meta/IGeneratorMeta.cpp
src/meta/NSGeneratorMeta.cpp
src/meta/GeneratorMeta.cpp
src/meta/IGroupRepository.cpp
src/lang/ILangResult.cpp
src/lang/LangResult.cpp
src/lang/DictLangResult.cpp
src/lang/RuleLangResult.cpp
src/lang/LangFile.cpp
src/config/Config.cpp
src/config/ConfigParser.cpp
src/config/RuntimeOptions.cpp
)
TARGET_LINK_LIBRARIES(GT6TG
PRIVATE
ryml::ryml
fmt::fmt
Boost::filesystem
Boost::program_options
)