Files
opm-common/opm/parser/eclipse/Parser/tests/CMakeLists.txt
2016-05-25 10:39:19 +02:00

10 lines
397 B
CMake

foreach(tapp ParserTests ParserKeywordTests ParserRecordTests
ParserItemTests ParserEnumTests ParserIncludeTests ParseContextTests MessageContainerTest)
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
LIBRARIES opmparser ${Boost_LIBRARIES})
endforeach()
if (NOT MSVC)
set_property(SOURCE ParserRecordTests.cpp PROPERTY COMPILE_FLAGS "-Wno-error")
endif()