1c902230fe
* Bulk replaced tabs with spaces * Bulk removed trailing whitespace from lines * Replaced c-style comments with c++-style comments in file banners * Replace nested namespace definitions with single concise definitions (C++17), this keeps the indentation more manageable * Cleanup ordering and spacing of include directives * Bulk renaming of header file extensions from '.h' to '.hpp'. * Update CODING-STYLE.md * Update target_compile_features from cxx_std_11 to cxx_std_20. * Refresh .clang-format file. Still needs a lot of tweaking.
30 lines
590 B
CMake
30 lines
590 B
CMake
project (glabels-batch LANGUAGES CXX)
|
|
|
|
#=======================================
|
|
# Sources
|
|
#=======================================
|
|
set (glabels-batch_sources
|
|
main.cpp
|
|
)
|
|
|
|
#=====================================
|
|
# Target
|
|
#=====================================
|
|
add_executable (glabels-batch-qt
|
|
${glabels-batch_sources}
|
|
)
|
|
|
|
target_compile_features (glabels-batch-qt
|
|
PUBLIC cxx_std_20
|
|
)
|
|
|
|
target_link_libraries (glabels-batch-qt
|
|
Model
|
|
)
|
|
|
|
#=======================================
|
|
# Install
|
|
#=======================================
|
|
install (TARGETS glabels-batch-qt RUNTIME DESTINATION bin)
|
|
|