-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
46 lines (39 loc) · 930 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required(VERSION 3.5)
project(LS_Midterm LANGUAGES C)
add_definitions(-DDEBUG_MODE_ENABLED)
add_executable(LS_Midterm main.c
flags/flags.h
flags/setFlags.c
flags/setFlags.h
flags/checkFlags.h
flags/checkFlags.c
file/checkFileType.h
file/checkFileType.c
file/fileListing.h
get/getDir.h
get/getDir.c
get/getFile.h
get/getFile.c
str/strFileMode.h
str/strFileMode.c
str/strFileTime.h
str/strFileTime.c
str/strFileSize.h
str/strFileSize.c
str/strFileName.h
str/strFileName.c
sort/sortArray.h
sort/sortArray.c
print/printListing.h
print/printListing.c
queue/dirQueue.c
queue/dirQueue.h
get/recurDir.c
get/recurDir.h
)
target_link_libraries(LS_Midterm m)
include(GNUInstallDirs)
install(TARGETS LS_Midterm
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)