Mercurial > minori
diff CMakeLists.txt @ 63:3d2decf093bb
*: fix many clang warnings
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:39:47 -0400 |
parents | 4c6dd5999b39 |
children | fe719c109dbc |
line wrap: on
line diff
--- a/CMakeLists.txt Sun Oct 01 06:16:06 2023 -0400 +++ b/CMakeLists.txt Sun Oct 01 06:39:47 2023 -0400 @@ -101,8 +101,7 @@ endif() add_executable(minori ${SRC_FILES}) -# There's a bug in JFMC++ that keeps me from setting this to C++11. -set_property(TARGET minori PROPERTY CXX_STANDARD 17) +set_property(TARGET minori PROPERTY CXX_STANDARD 11) set_property(TARGET minori PROPERTY AUTOMOC ON) set_property(TARGET minori PROPERTY AUTORCC ON) @@ -112,7 +111,7 @@ else() target_include_directories(minori PUBLIC ${Qt5Widgets_INCLUDE_DIRS}) endif() -target_compile_options(minori PRIVATE -Wall -Wextra -Wsuggest-override) +target_compile_options(minori PRIVATE -Wall -Wpedantic -Wextra -Wsuggest-override) if(APPLE) target_compile_definitions(minori PUBLIC MACOSX) elseif(WIN32)