Cleaning up unit test build and test header
This commit is contained in:
@@ -26,7 +26,6 @@ endif(UNIX)
|
||||
if(MSVC)
|
||||
set(Boost_DEBUG OFF)
|
||||
set(Boost_DETAILED_FAILURE_MSG OFF)
|
||||
set(Boost_THREADAPI win32)
|
||||
set(Boost_USE_STATIC_LIBS ON)
|
||||
endif(MSVC)
|
||||
set(Boost_THREAD_FOUND OFF)
|
||||
@@ -42,7 +41,6 @@ file(GLOB TEST_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} test_*.cpp)
|
||||
MESSAGE( STATUS "Thread found: " ${Boost_THREAD_FOUND})
|
||||
if(NOT ${Boost_THREAD_FOUND})
|
||||
list(REMOVE_ITEM TEST_SRCS test_reent.cpp)
|
||||
MESSAGE("${TEST_SRCS}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Author: Michael E. Tryby
|
||||
* US EPA - ORD/NRMRL
|
||||
*
|
||||
* Unit testing for EPANET Output API.
|
||||
* Multi-threading / reentrancy test for EPANET Toolkit API.
|
||||
*/
|
||||
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user