Build flags.

This commit is contained in:
King_DuckZ 2014-09-24 10:09:44 +02:00
parent 38b9ec964a
commit a90220bd7f

View file

@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(tiger D C)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g -O0 -Wall -Wextra")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -Wall -Wdeprecated")
set(CMAKE_D_FLAGS_DEBUG "${CMAKE_D_FLAGS_DEBUG} -funittest -g -O0 -Wall -Wdeprecated")
set(CMAKE_D_FLAGS_RELEASE "${CMAKE_D_FLAGS_RELEASE} -O3 -Wall -Wdeprecated")
add_executable(${PROJECT_NAME}
sboxes.c
tiger.c