mirror of https://github.com/davisking/dlib.git
Made the unit tests compile all/source.cpp.
This commit is contained in:
parent
4c1e0efb04
commit
b3e9f7afc9
|
@ -177,6 +177,7 @@ TARGET_LINK_LIBRARIES(${target_name} dlib )
|
|||
if (NOT DLIB_NO_GUI_SUPPORT)
|
||||
add_subdirectory(gui)
|
||||
add_subdirectory(examples)
|
||||
add_subdirectory(all_source)
|
||||
endif()
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#
|
||||
# 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)
|
||||
|
||||
|
Loading…
Reference in New Issue