diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eea0bfc..d37d042 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,8 +17,9 @@ foreach(SOURCE_FILE ${SOURCES}) # form target names (substitute '/' to '_', remove '.cpp') string(REPLACE "/" "_" TARGET_NAME ${REL_PATH}) string(REPLACE ".cpp" "" TARGET_NAME ${TARGET_NAME}) - + add_executable(${TARGET_NAME} ${SOURCE_FILE}) + target_compile_options(${TARGET_NAME} PRIVATE -Wall -Weffc++ -Wextra -Wpedantic ) |
