CMakeLists.txt 705 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.12)
7
8
9
10

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

Davis King's avatar
Davis King committed
11
project(${target_name})
12

Davis King's avatar
Davis King committed
13
add_subdirectory(../../dlib dlib_build)
14

15
# add all the cpp files we want to compile to this list.  This tells
16
# cmake that they are part of our target (which is the executable named htmlify)
Davis King's avatar
Davis King committed
17
add_executable(${target_name} 
Davis King's avatar
Davis King committed
18
19
20
   htmlify.cpp
   to_xml.cpp
   )
21

Davis King's avatar
Davis King committed
22
# Tell cmake to link our target executable to dlib.
Davis King's avatar
Davis King committed
23
target_link_libraries(${target_name} dlib::dlib )
24
25
26



Davis King's avatar
Davis King committed
27
install(TARGETS ${target_name}
28
29
	RUNTIME DESTINATION bin
	)
30
31