Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
b3e9f7af
Commit
b3e9f7af
authored
Aug 16, 2016
by
Davis King
Browse files
Made the unit tests compile all/source.cpp.
parent
4c1e0efb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
dlib/test/CMakeLists.txt
dlib/test/CMakeLists.txt
+1
-0
dlib/test/all_source/CMakeLists.txt
dlib/test/all_source/CMakeLists.txt
+13
-0
No files found.
dlib/test/CMakeLists.txt
View file @
b3e9f7af
...
@@ -177,6 +177,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
...
@@ -177,6 +177,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
if
(
NOT DLIB_NO_GUI_SUPPORT
)
if
(
NOT DLIB_NO_GUI_SUPPORT
)
add_subdirectory
(
gui
)
add_subdirectory
(
gui
)
add_subdirectory
(
examples
)
add_subdirectory
(
examples
)
add_subdirectory
(
all_source
)
endif
()
endif
()
dlib/test/all_source/CMakeLists.txt
0 → 100644
View file @
b3e9f7af
#
# 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
)
set
(
target_name test_all_source_builds
)
PROJECT
(
${
target_name
}
)
include
(
../../cmake_utils/use_cpp_11.cmake
)
ADD_LIBRARY
(
${
target_name
}
STATIC ../../all/source.cpp
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment