File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ set(INJA_INSTALL_INCLUDE_DIR "include")
1616set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH } ${PROJECT_SOURCE_DIR } /cmake)
1717
1818if (CMAKE_COMPILER_IS_GNUCC)
19- set ( CMAKE_CXX_FLAGS " ${ CMAKE_CXX_FLAGS } -Wall" )
19+ add_compile_options ( -Wall )
2020endif ()
2121
2222if (MSVC )
23- set ( CMAKE_CXX_FLAGS " ${ CMAKE_CXX_FLAGS } /W4" )
23+ add_compile_options ( /W4 /permissive- /utf-8 /Zc:__cplusplus )
2424endif ()
2525
2626
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ platform:
88 - x64
99
1010configuration :
11- # - Debug
11+ - Debug
1212 - Release
1313
1414environment :
3434before_build :
3535 - mkdir -p build
3636 - cd build
37- - cmake .. -A %PLATFORM% -T %TOOLCHAIN% -DCMAKE_CXX_STANDARD=%STD% -DCMAKE_CXX_FLAGS="/permissive- /utf-8 /Zc:__cplusplus"
37+ - cmake .. -A %PLATFORM% -T %TOOLCHAIN% -DCMAKE_CXX_STANDARD=%STD%
3838
3939build_script :
4040 - cmake --build . --config %CONFIGURATION% -- -verbosity:n
You can’t perform that action at this time.
0 commit comments