bond/CMakeLists.txt

25 lines
659 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 2.8.4)
project(secX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c11")
2018-10-02 06:43:30 +00:00
file(GLOB_RECURSE hal_src ./inc/*.h ./hal/*.c ./hal/*.h ./common/*.c)
file(GLOB_RECURSE kernel_src ./inc/*.h ./kernel/*.c ./kernel/*.h ./common/*.c)
file(GLOB_RECURSE test_src ./inc/*.h ./test/*.c ./test/*.h ./common/*.c)
2018-10-01 17:01:00 +00:00
include_directories(inc)
2018-10-02 06:43:30 +00:00
# HAL
#include_directories(hal/inc)
#add_executable(hal ${hal_src})
# KERNEL
2018-10-01 17:01:00 +00:00
include_directories(kernel/inc)
2018-10-02 06:43:30 +00:00
add_executable(kernel ${kernel_src})
2018-10-01 17:01:00 +00:00
# KERNEL + TESTS
#include_directories(test/inc)
#include_directories(kernel/inc)
#add_definitions(-DTDBG)
2018-10-01 17:01:00 +00:00
#add_executable(tests ${test_src} ${kernel_src})