"vscode:/vscode.git/clone" did not exist on "1185f0b1a09abe59756f73ac5ed16eaf5c9c381f"
CMakeLists.txt 768 Bytes
Newer Older
1
2
3
4
5
#
# This is a CMake makefile.  You can find the cmake utility and
# information about it at http://www.cmake.org
#

6
cmake_minimum_required(VERSION 2.8.4)
7
8
9
10
11
12
13

# create a variable called target_name and set it to the string "mltool"
set (target_name mltool)

PROJECT(${target_name})

# add all the cpp files we want to compile to this list.  This tells
Davis King's avatar
Davis King committed
14
# cmake that they are part of our target (which is the executable named mltool)
15
16
ADD_EXECUTABLE(${target_name} 
   src/main.cpp
17
18
19
20
21
   src/regression.cpp
   src/regression.h
   src/common.h
   src/option_range.h
   src/option_range.cpp
22
23
24
25
)



Davis King's avatar
Davis King committed
26
27
# Tell cmake to link our target executable to dlib.
include(../../dlib/cmake)
28
29
30
31
32
33
34
TARGET_LINK_LIBRARIES(${target_name} dlib )


INSTALL(TARGETS ${target_name}
	RUNTIME DESTINATION bin
	)