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

6
cmake_minimum_required(VERSION 2.8.4)
7
8
9
10
11
12
13
14
15
16

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

PROJECT(${target_name})

# 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
17
18
   src/metadata_editor.h
   src/metadata_editor.cpp
Davis King's avatar
Davis King committed
19
20
   src/convert_pascal_xml.h
   src/convert_pascal_xml.cpp
21
22
   src/convert_pascal_v1.h
   src/convert_pascal_v1.cpp
23
24
   src/convert_idl.h
   src/convert_idl.cpp
25
26
   src/common.h
   src/common.cpp
27
28
29
)


Davis King's avatar
Davis King committed
30
# Tell cmake to link our target executable to dlib.  
31
include(../../dlib/cmake)
32
33
34
35
36
37
38
TARGET_LINK_LIBRARIES(${target_name} dlib )


INSTALL(TARGETS ${target_name}
	RUNTIME DESTINATION bin
	)