* co-authored with @ehsan-shafiee * removes errant slashes * Throws correct error for ID name too long * Revert "Throws correct error for ID name too long" This reverts commit 57b4873f5882cb9fd983f7e1e5a703b9e442cd74. * fixes #534 by bubbling error codes up from add node/link internal functions * fixes tests on Mac at least * fixes improper success code * Error 252 (not 250) returned for ID name too long. From errors.dat: DAT(252,"invalid ID name")
15 lines
486 B
CMake
15 lines
486 B
CMake
|
|
if(UNIX)
|
|
set(CMAKE_CXX_FLAGS "-std=c++11")
|
|
endif(UNIX)
|
|
|
|
# Sets for output directory for executables and libraries
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
|
|
|
|
|
add_executable(test_output test_output.cpp)
|
|
target_include_directories(test_output PUBLIC ../../src/outfile/include)
|
|
target_link_libraries(test_output ${Boost_LIBRARIES} epanet-output)
|