Build flags.
This commit is contained in:
parent
38b9ec964a
commit
a90220bd7f
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue