forked from Certseeds/CS205_C_CPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
28 lines (21 loc) · 860 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# header begin
cmake_minimum_required(VERSION 3.10.2)
project(CS205_C_CPP LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall -Wextra")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/include)
#include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/include.cmake)
set(exerciseList 01 02 03 04 05 06 07 08 09 11 12 13 14 15)
Add_Sub_Dir_List(exerciseList lab /exercise)
unset(exerciseList)
set(examplesList 06 07 08 12 13)
Add_Sub_Dir_List(examplesList lab /examples)
unset(examplesList)
set(AssignmentList 1 2 3 4 5)
Add_Sub_Dir_List(AssignmentList Assignment_ "")
unset(AssignmentList)
add_subdirectory(midterm)
#add_subdirectory(CS205_project_2020S)