Externals/cpp-optparse/CMakeLists.txt
raw| 1 | set(SRCS |
| 2 | cpp-optparse/OptionParser.cpp |
| 3 | cpp-optparse/OptionParser.h |
| 4 | ) |
| 5 | |
| 6 | add_library(cpp-optparse STATIC ${SRCS}) |
| 7 | target_compile_features(cpp-optparse PUBLIC cxx_std_11) |
| 8 | target_compile_options(cpp-optparse PRIVATE -fexceptions) |
| 9 | dolphin_disable_warnings(cpp-optparse) |
| 10 | |
| 11 | target_include_directories(cpp-optparse |
| 12 | PUBLIC |
| 13 | ${CMAKE_CURRENT_SOURCE_DIR}/cpp-optparse |
| 14 | ) |