More cleanup

This commit is contained in:
KimLS
2025-11-22 22:34:32 -08:00
parent 1168d3bc37
commit 3f8746d33c
12 changed files with 106 additions and 105 deletions
+8 -8
View File
@@ -1,6 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.17.0)
cmake_minimum_required(VERSION 3.20.0)
SET(cppunit_sources
set(cppunit_sources
collectoroutput.cpp
compileroutput.cpp
htmloutput.cpp
@@ -12,7 +12,7 @@ SET(cppunit_sources
utils.cpp
)
SET(cppunit_headers
set(cppunit_headers
cpptest-assert.h
cpptest-collectoroutput.h
cpptest-compileroutput.h
@@ -28,11 +28,11 @@ SET(cppunit_headers
winconfig.h
)
ADD_LIBRARY(cppunit ${cppunit_sources} ${cppunit_headers})
add_library(cppunit ${cppunit_sources} ${cppunit_headers})
IF(UNIX)
ADD_DEFINITIONS(-fPIC)
ENDIF(UNIX)
if(UNIX)
add_definitions(-fPIC)
endif()
SET(LIBRARY_OUTPUT_PATH ../../bin)
set(LIBRARY_OUTPUT_PATH ../../bin)