Renamed test folder to tests
This commit is contained in:
parent
c33009beb1
commit
d6f3d55019
4 changed files with 1 additions and 1 deletions
17
tests/CMakeLists.txt
Normal file
17
tests/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-access-control")
|
||||
|
||||
add_executable(io_test io_test.cpp)
|
||||
target_link_libraries(io_test ${Boost_LIBRARIES})
|
||||
target_link_libraries(io_test ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
add_executable(parse_test parse_test.cpp)
|
||||
target_link_libraries(parse_test ${Boost_LIBRARIES})
|
||||
target_link_libraries(parse_test ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(MSYS) #TODO: Is MSYS true when MSVC is true?
|
||||
target_link_libraries(io_test ws2_32 wsock32)
|
||||
target_link_libraries(parse_test ws2_32 wsock32)
|
||||
endif()
|
||||
|
||||
add_test(io_test io_test)
|
||||
add_test(parse_test parse_test)
|
||||
Loading…
Add table
Add a link
Reference in a new issue