Renamed unit test program to avoid warnings from cmake

This commit is contained in:
Davis King 2014-06-17 20:03:19 -04:00
parent 082f05ea2c
commit 72cc93983a
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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