-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
56 lines (36 loc) · 1.37 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
project(ele-pipeline)
cmake_minimum_required(VERSION 2.8)
find_package(Threads)
#add_definitions(-std=c++11 -m64 -O2)
add_definitions(-std=c++11 -m64 -g)
file(GLOB_RECURSE SRC_LIST "src/*.h" "src/*.cpp" "../notes.mkd" "../data/datasets.mkd" "../SourcererCC/clone-detector/sourcerer-cc.properties")
#aux_source_directory(. SRC_LIST)
include_directories(${CMAKE_SOURCE_DIR})
file(GLOB_RECURSE CLEANER_SRC "cleaner/*.h" "cleaner/*.cpp" "include/*.h" "include/*.cpp" "settings.csv" "hashes/*.cpp" "hashes/*.h")
#add_executable(cleaner ${CLEANER_SRC})
#target_link_libraries(cleaner ${CMAKE_THREAD_LIBS_INIT})
file(GLOB_RECURSE DOWNLOADER_SRC "downloader/*.h" "downloader/*.cpp" "include/*.h" "include/*.cpp" "settings.csv" "hashes/*.cpp" "hashes/*.h")
#add_executable(downloader ${DOWNLOADER_SRC})
#target_link_libraries(downloader ${CMAKE_THREAD_LIBS_INIT})
file(GLOB_RECURSE GHT_SRC
"README.md"
"main.cpp"
"ght/*.h"
"ght/*.cpp"
"include/*.h"
"include/*.cpp"
"cleaner/*.h"
"cleaner/*.cpp"
"downloader/*.h"
"downloader/*.cpp"
"sovf_downloader/*.h"
"sovf_downloader/*.cpp"
"stridemerger/*.h"
"stridemerger/*.cpp"
"sccsorter/*.h"
"sccsorter/*.cpp"
"latest/*.h"
"latest/*.cpp"
)
add_executable(ght ${GHT_SRC})
target_link_libraries(ght ${CMAKE_THREAD_LIBS_INIT})