forked from scraterpreter/scrape
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
27 lines (21 loc) · 694 Bytes
/
CMakeLists.txt
File metadata and controls
27 lines (21 loc) · 694 Bytes
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
# Set the minimum version of CMake that can be used
# To find the cmake version run
# $ cmake --version
cmake_minimum_required(VERSION 3.5)
# Set the project name
project (scrape)
# Create a sources variable with a link to all cpp files to compile
#set(SOURCES
# src/Hello.cpp
# src/main.cpp
#)
file(GLOB_RECURSE SOURCES src/*.cc)
# Add an executable with the above sources
add_executable(scrape ${SOURCES})
# Set the directories that should be included in the build command for this target
# when running g++ these will be included as -I/directory/path/
target_include_directories(scrape
PRIVATE
${PROJECT_SOURCE_DIR}/include
)
install(TARGETS scrape DESTINATION bin)