"vscode:/vscode.git/clone" did not exist on "ac561bcefd75f503b27e9154938b2a54d560b276"
CMakeLists.txt 2.35 KB
Newer Older
1
2
3
4
5
6
#
# This is a CMake makefile.  You can find the cmake utility and
# information about it at http://www.cmake.org
#


Davis King's avatar
Davis King committed
7
cmake_minimum_required(VERSION 2.6)
8

9
10
PROJECT(examples)

Davis King's avatar
Davis King committed
11
include(../dlib/cmake)
12

Davis King's avatar
Davis King committed
13
14
15
16
# We are going to use a macro to add all the example programs.  However,
# usually you will only create one executable in your cmake projects.
# Therefore, you would just need to invoke ADD_EXECUTABLE() and
# TARGET_LINK_LIBRARIES() as shown below.  
17
18
19
20
21
22
23
MACRO(add_example name)
   ADD_EXECUTABLE(${name} ${name}.cpp)
   TARGET_LINK_LIBRARIES(${name} dlib )
ENDMACRO()


#here we apply our macros 
24
add_example(assignment_learning_ex)
25
26
add_example(bayes_net_ex)
add_example(bayes_net_from_disk_ex)
27
add_example(bayes_net_gui_ex)
28
add_example(bridge_ex)
Davis King's avatar
Davis King committed
29
add_example(bsp_ex)
30
add_example(compress_stream_ex)
31
add_example(config_reader_ex)
32
add_example(custom_trainer_ex)
33
add_example(dir_nav_ex)
34
add_example(empirical_kernel_map_ex)
35
add_example(file_to_code_ex)
36
add_example(graph_labeling_ex)
37
38
add_example(gui_api_ex)
add_example(image_ex)
39
add_example(iosockstream_ex)
Davis King's avatar
Davis King committed
40
add_example(kcentroid_ex)
41
add_example(kkmeans_ex)
Davis King's avatar
Davis King committed
42
add_example(krls_ex)
43
add_example(krls_filter_ex)
44
45
add_example(krr_classification_ex)
add_example(krr_regression_ex)
46
add_example(least_squares_ex)
47
add_example(linear_manifold_regularizer_ex)
48
49
50
add_example(logger_ex)
add_example(logger_ex_2)
add_example(matrix_ex)
51
add_example(matrix_expressions_ex)
52
53
add_example(member_function_pointer_ex)
add_example(mlp_ex)
54
add_example(model_selection_ex)
55
add_example(multiclass_classification_ex)
56
add_example(multithreaded_object_ex)
57
58
add_example(object_detector_advanced_ex)
add_example(object_detector_ex)
Davis King's avatar
Davis King committed
59
add_example(optimization_ex)
60
add_example(pipe_ex)
61
add_example(pipe_ex_2)
Davis King's avatar
Davis King committed
62
add_example(quantum_computing_ex)
63
add_example(queue_ex)
Davis King's avatar
Davis King committed
64
add_example(rank_features_ex)
Davis King's avatar
Davis King committed
65
add_example(rvm_ex)
Davis King's avatar
Davis King committed
66
add_example(rvm_regression_ex)
67
add_example(sequence_labeler_ex)
68
add_example(server_http_ex)
69
add_example(server_iostream_ex)
70
71
72
add_example(sockets_ex)
add_example(sockstreambuf_ex)
add_example(std_allocator_ex)
73
add_example(surf_ex)
74
add_example(svm_ex)
75
add_example(svm_pegasos_ex)
76
add_example(svm_rank_ex)
Davis King's avatar
Davis King committed
77
add_example(svm_sparse_ex)
Davis King's avatar
Davis King committed
78
add_example(svr_ex)
79
80
add_example(threaded_object_ex)
add_example(thread_function_ex)
Davis King's avatar
Davis King committed
81
add_example(thread_pool_ex)
82
83
add_example(threads_ex)
add_example(timer_ex)
Davis King's avatar
Davis King committed
84
add_example(train_object_detector)
85
add_example(using_custom_kernels_ex)
86
add_example(xml_parser_ex)