mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 12:41:30 +00:00
* Cleanup & Reorganize Makefile for Dev Containers * Fix Makefile & misc fixes --------- Co-authored-by: m0th <43860202+m0th@users.noreply.github.com>
39 lines
583 B
CMake
39 lines
583 B
CMake
CMAKE_MINIMUM_REQUIRED(VERSION 3.2)
|
|
|
|
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)
|