CMakeLists.txt 1.04 KB
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
11

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

PROJECT(${target_name})
Davis King's avatar
Davis King committed
12
add_subdirectory(../../dlib dlib_build)
13
14
15

# 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)
Davis King's avatar
Davis King committed
16
add_executable(${target_name} 
17
   src/main.cpp
18
19
   src/metadata_editor.h
   src/metadata_editor.cpp
Davis King's avatar
Davis King committed
20
21
   src/convert_pascal_xml.h
   src/convert_pascal_xml.cpp
22
23
   src/convert_pascal_v1.h
   src/convert_pascal_v1.cpp
24
25
   src/convert_idl.h
   src/convert_idl.cpp
26
27
   src/common.h
   src/common.cpp
28
   src/cluster.cpp
29
   src/flip_dataset.cpp
30
31
32
)


Davis King's avatar
Davis King committed
33
# Tell cmake to link our target executable to dlib.  
Davis King's avatar
Davis King committed
34
target_link_libraries(${target_name} dlib::dlib )
35
36


Davis King's avatar
Davis King committed
37
install(TARGETS ${target_name}
38
39
	RUNTIME DESTINATION bin
	)
Davis King's avatar
Davis King committed
40
install(PROGRAMS convert_imglab_paths_to_relative copy_imglab_dataset DESTINATION bin )
41