2009-06-28 23:50:27 +02:00
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
project(POLARSSL C)
|
|
|
|
|
|
|
|
enable_testing()
|
|
|
|
|
2009-07-11 21:16:30 +02:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -Wall -W -Wdeclaration-after-statement -fprofile-arcs -ftest-coverage -lgcov")
|
2009-06-28 23:50:27 +02:00
|
|
|
set(CMAKE_SHARED_LINKER_FLAGS "-fprofile-arcs -ftest-coverage")
|
|
|
|
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -Wall -W")
|
|
|
|
#set(CMAKE_SHARED_LINKER_FLAGS "")
|
|
|
|
|
|
|
|
include_directories(include/)
|
|
|
|
|
|
|
|
add_subdirectory(library)
|
|
|
|
add_subdirectory(programs)
|
|
|
|
add_subdirectory(tests)
|