10 lines
397 B
CMake
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()
|
|
|