48 lines
805 B
CMake
48 lines
805 B
CMake
project (Merge LANGUAGES CXX)
|
|
|
|
#=====================================
|
|
# Sources
|
|
#=====================================
|
|
set (merge_sources
|
|
Factory.cpp
|
|
Record.cpp
|
|
Merge.cpp
|
|
None.cpp
|
|
Text.cpp
|
|
TextCsv.cpp
|
|
TextCsvKeys.cpp
|
|
TextTsv.cpp
|
|
TextTsvKeys.cpp
|
|
TextColon.cpp
|
|
TextColonKeys.cpp
|
|
TextSemicolon.cpp
|
|
TextSemicolonKeys.cpp
|
|
)
|
|
|
|
set (merge_qobject_headers
|
|
Merge.h
|
|
)
|
|
|
|
qt5_wrap_cpp (merge_moc_sources ${merge_qobject_headers})
|
|
|
|
#=====================================
|
|
# Target
|
|
#=====================================
|
|
add_library (Merge STATIC
|
|
${merge_sources}
|
|
${merge_moc_sources}
|
|
)
|
|
|
|
#target_compile_features (Merge
|
|
# PUBLIC cxx_std_11
|
|
#)
|
|
set_property (TARGET Merge PROPERTY CXX_STANDARD 11)
|
|
|
|
target_include_directories (Merge
|
|
PUBLIC ..
|
|
)
|
|
|
|
target_link_libraries (Merge
|
|
Qt5::Core
|
|
)
|