Unit tests + cleanup

This commit is contained in:
KimLS
2013-02-17 13:36:39 -08:00
parent a192e726d4
commit 53d6e4000c
30 changed files with 3321 additions and 2 deletions
+38
View File
@@ -0,0 +1,38 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
SET(cppunit_sources
collectoroutput.cpp
compileroutput.cpp
htmloutput.cpp
missing.cpp
source.cpp
suite.cpp
textoutput.cpp
time.cpp
utils.cpp
)
SET(cppunit_headers
cpptest-assert.h
cpptest-collectoroutput.h
cpptest-compileroutput.h
cpptest-htmloutput.h
cpptest-output.h
cpptest-source.h
cpptest-suite.h
cpptest-textoutput.h
cpptest-time.h
cpptest.h
missing.h
utils.h
winconfig.h
)
ADD_LIBRARY(cppunit ${cppunit_sources} ${cppunit_headers})
IF(UNIX)
ADD_DEFINITIONS(-fPIC)
ENDIF(UNIX)
SET(LIBRARY_OUTPUT_PATH ../../Bin)