1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Add all warnings

This commit is contained in:
Mathieu Schroeter 2017-02-11 18:58:12 +01:00
parent 27e01e08ae
commit edcd2c36cb

View File

@ -12,6 +12,10 @@ set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
endif ()
file (GLOB_RECURSE sources src/*.cpp src/*.h)
file (GLOB_RECURSE data resources/data/*)
file (GLOB_RECURSE image resources/image/*)