This repository has been archived by the owner on Jun 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
89 lines (66 loc) · 4.43 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
cmake_minimum_required(VERSION 3.9)
project(MIAMI_UNIVERSITY_CSE_NOTES)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_C_STANDARD 11)
find_package(OpenMP)
if (OPENMP_FOUND)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif()
# CSE 278
add_executable(CSE_278_CLASSES
"CSE 278 (Systems I - Introduction to Systems Programming)/Classes/main.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Classes/IntegerAggregate.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Classes/Integer.cpp")
add_executable(CSE_278_STRINGS
"CSE 278 (Systems I - Introduction to Systems Programming)/Strings/main.cpp")
add_executable(CSE_278_MEMORY_ALLOCATION
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/main.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/NoArgClass.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/NoArgClass.h"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/OneArgClass.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/OneArgClass.h"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/TwoArgClass.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Memory Allocation/TwoArgClass.h")
add_executable(CSE_278_POLYMORPHISM
"CSE 278 (Systems I - Introduction to Systems Programming)/Polymorphism/main.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Polymorphism/Rectangle.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Polymorphism/SpecialRectangle.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Polymorphism/Square.cpp")
add_executable(CSE_278_FILES
"CSE 278 (Systems I - Introduction to Systems Programming)/Files/main.cpp")
add_executable(CSE_278_NUMBER_REPRESENTATION
"CSE 278 (Systems I - Introduction to Systems Programming)/Number Representation/main.cpp")
add_executable(CSE_278_OVERLOADING_OPERATORS
"CSE 278 (Systems I - Introduction to Systems Programming)/Overloading Operators/main.cpp"
"CSE 278 (Systems I - Introduction to Systems Programming)/Overloading Operators/Integer.cpp")
add_executable(CSE_278_MISC
"CSE 278 (Systems I - Introduction to Systems Programming)/Misc/main.cpp")
# CSE 381
add_executable(CSE_381_DATA_STRUCTURES_VECTOR
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/C++ Data Structures/vector.cpp")
add_executable(CSE_381_DATA_STRUCTURES_UNORDERED_MAP
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/C++ Data Structures/unordered_map.cpp")
add_executable(CSE_381_CONSOLE_IO
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Console IO/main.c")
add_executable(CSE_381_IPC_PIPES
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/IPC (Interprocess Communication)/pipes.c")
add_executable(CSE_381_IPC_SHARED_MEMORY
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/IPC (Interprocess Communication)/shared-memory.c")
add_executable(CSE_381_NETWORKING_CLIENT
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Networking/client.c")
add_executable(CSE_381_NETWORKING_SERVER
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Networking/server.c")
add_executable(CSE_381_MULTITHREADING_PTHREAD
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Multithreading/pthread.c")
add_executable(CSE_381_MULTITHREADING_OPENMP
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Multithreading/OpenMP.c")
add_executable(CSE_381_MULTITHREADING_THREAD
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Multithreading/thread.cpp")
add_executable(CSE_381_PARALLELISM_TASK
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Parallelism/Task Parallelism.c")
add_executable(CSE_381_SIMPLE_SHELL
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Simple Shell/main.c")
add_executable(CSE_381_SIMPLE_SHELL_PIPING
"CSE 381 (Systems II - OS, Currency, Virtualization, and Security)/Simple Shell/command-piping.c")