dlib/tools/imglab/CMakeLists.txt

41 lines
1016 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
#
cmake_minimum_required(VERSION 2.8.4)
# create a variable called target_name and set it to the string "imglab"
set (target_name imglab)
PROJECT(${target_name})
2016-08-13 21:03:16 +08:00
include(../../dlib/cmake)
# 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 imglab)
ADD_EXECUTABLE(${target_name}
src/main.cpp
src/metadata_editor.h
src/metadata_editor.cpp
src/convert_pascal_xml.h
src/convert_pascal_xml.cpp
src/convert_pascal_v1.h
src/convert_pascal_v1.cpp
src/convert_idl.h
src/convert_idl.cpp
src/common.h
src/common.cpp
2015-07-03 23:58:59 +08:00
src/cluster.cpp
)
2014-02-23 11:00:07 +08:00
# Tell cmake to link our target executable to dlib.
TARGET_LINK_LIBRARIES(${target_name} dlib )
INSTALL(TARGETS ${target_name}
RUNTIME DESTINATION bin
)
INSTALL(PROGRAMS convert_imglab_paths_to_relative copy_imglab_dataset DESTINATION bin )