mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Renamed unit test program to avoid warnings from cmake
This commit is contained in:
parent
082f05ea2c
commit
72cc93983a
@ -140,13 +140,13 @@ set (tests
|
||||
vectorstream.cpp
|
||||
)
|
||||
|
||||
# create a variable called target_name and set it to the string "test"
|
||||
set (target_name test)
|
||||
# create a variable called target_name and set it to the string "dtest"
|
||||
set (target_name dtest)
|
||||
|
||||
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 test)
|
||||
# cmake that they are part of our target (which is the executable named dtest)
|
||||
ADD_EXECUTABLE(${target_name} main.cpp tester.cpp ${tests})
|
||||
|
||||
# Turn on all warnings when using gcc.
|
||||
|
@ -2,7 +2,7 @@
|
||||
# on Debian Linux using the gcc compiler.
|
||||
|
||||
# this is the name of the output executable
|
||||
TARGET = test
|
||||
TARGET = dtest
|
||||
|
||||
# these are the compile time flags passed to gcc
|
||||
CFLAGS = -ggdb -DDEBUG -DDLIB_NO_GUI_SUPPORT -I ../.. -Wall
|
||||
|
Loading…
Reference in New Issue
Block a user