CMakeLists.txt 681 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
#

Davis King's avatar
Davis King committed
6
cmake_minimum_required(VERSION 2.6)
7
8
9
10
11
12
13

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

PROJECT(${target_name})

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

Davis King's avatar
Davis King committed
20
21
# Tell cmake to link our target executable to dlib.
include(../../dlib/cmake)
22
23
24
25
26
27
28
TARGET_LINK_LIBRARIES(${target_name} dlib )



INSTALL(TARGETS ${target_name}
	RUNTIME DESTINATION bin
	)
29
30