File: CMakeLists.txt

package info (click to toggle)
dlib 19.24.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,728 kB
  • sloc: cpp: 327,411; xml: 26,686; python: 1,631; sh: 290; java: 229; makefile: 179; javascript: 73; perl: 18
file content (31 lines) | stat: -rw-r--r-- 704 bytes parent folder | download
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
#
# This is a CMake makefile.  You can find the cmake utility and
# information about it at http://www.cmake.org
#

cmake_minimum_required(VERSION 3.8.0)

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

project(${target_name})

add_subdirectory(../../dlib dlib_build)

# add all the cpp files we want to compile to this list.  This tells
# cmake that they are part of our target (which is the executable named htmlify)
add_executable(${target_name} 
   htmlify.cpp
   to_xml.cpp
   )

# Tell cmake to link our target executable to dlib.
target_link_libraries(${target_name} dlib::dlib )



install(TARGETS ${target_name}
	RUNTIME DESTINATION bin
	)