Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions unittests/combined/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ FILE( GLOB combinedTestSrc "../*/*.cpp" )
file( GLOB mainApps "../*/main.cpp" )
list( REMOVE_ITEM combinedTestSrc ${mainApps} )

IF( NOT Tinia_SERVER )
#The following files are only applicable for Tinia_Server
FILE( GLOB toRemove "../*/test_*.cpp" )
LIST( REMOVE_ITEM combinedTestSrc ${toRemove} )
ENDIF( WIN32 )

file( GLOB combinedMain main.cpp ) # Assuming absolute path is a good thing
list( APPEND combinedTestSrc ${combinedMain} )

Expand Down