dlib/tools/htmlify/CMakeLists.txt

31 lines
681 B
CMake
Raw Normal View History

#
# This is a CMake makefile. You can find the cmake utility and
# information about it at http://www.cmake.org
#
2013-02-11 02:58:22 +08:00
cmake_minimum_required(VERSION 2.6)
# 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
2011-06-20 06:37:23 +08:00
# cmake that they are part of our target (which is the executable named htmlify)
ADD_EXECUTABLE(${target_name}
2013-02-11 02:58:22 +08:00
htmlify.cpp
to_xml.cpp
)
2013-02-11 02:58:22 +08:00
# Tell cmake to link our target executable to dlib.
include(../../dlib/cmake)
TARGET_LINK_LIBRARIES(${target_name} dlib )
INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin
)