changed: rename Parser to opmparser for consistency
This commit is contained in:
@@ -269,10 +269,10 @@ add_custom_target( keywordlist ALL COMMAND createDefaultKeywordList
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
|
||||
add_library(Parser ${rawdeck_source} ${parser_source} ${deck_source} ${state_source} ${unit_source} ${log_source})
|
||||
add_dependencies(Parser keywordlist)
|
||||
target_link_libraries(Parser opmjson ${Boost_LIBRARIES} ${ERT_LIBRARIES})
|
||||
add_library(opmparser ${rawdeck_source} ${parser_source} ${deck_source} ${state_source} ${unit_source} ${log_source})
|
||||
add_dependencies(opmparser keywordlist)
|
||||
target_link_libraries(opmparser opmjson ${Boost_LIBRARIES} ${ERT_LIBRARIES})
|
||||
|
||||
include( ${PROJECT_SOURCE_DIR}/cmake/Modules/install_headers.cmake )
|
||||
install_headers( "${HEADER_FILES}" "${CMAKE_INSTALL_PREFIX}" )
|
||||
install( TARGETS Parser DESTINATION ${CMAKE_INSTALL_LIBDIR} )
|
||||
install( TARGETS opmparser DESTINATION ${CMAKE_INSTALL_LIBDIR} )
|
||||
|
||||
@@ -2,5 +2,5 @@ foreach(tapp DeckRecordTests DeckIntItemTests DeckDoubleItemTests
|
||||
DeckFloatItemTests DeckStringItemTests
|
||||
DeckTests DeckKeywordTests SectionTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -3,5 +3,5 @@ foreach(tapp EclipseGridTests MULTREGTScannerTests GridPropertyTests
|
||||
BoxManagerTests TransMultTests FaultTests
|
||||
EqualRegTests MultiRegTests ADDREGTests CopyRegTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -5,5 +5,5 @@ foreach(tapp TimeMapTest ScheduleTests WellTests
|
||||
DynamicStateTests GroupTreeNodeTests
|
||||
GroupTreeTests TuningTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
foreach(tapp ThresholdPressureTest SimulationConfigTest)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
foreach(tapp TableTests TabdimsTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
foreach(tapp OrderedMapTests ValueTests ElasticVectorTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
opm_add_test(runEclipseStateTests SOURCES EclipseStateTests.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
|
||||
@@ -8,5 +8,5 @@ foreach(tapp CheckDeckValidity IntegrationTests ParseWellProbe
|
||||
ParseRSVD ParsePVTG ParsePVTO ParseSWOF BoxTest
|
||||
ParseMULTREGT ParseSGOF EclipseGridCreateFromDeck)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
opm_add_test(runOpmLogTests SOURCES OpmLogTests.cpp
|
||||
EXE_NAME runOpmLogTests
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
foreach(tapp ParserTests ParserKeywordTests ParserRecordTests
|
||||
ParserItemTests ParserEnumTests ParserIncludeTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
set_property(SOURCE ParserRecordTests.cpp PROPERTY COMPILE_FLAGS "-Wno-error")
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
|
||||
add_executable( createInlineItemTest EXCLUDE_FROM_ALL createInlineItemTest.cpp)
|
||||
target_link_libraries( createInlineItemTest Parser ${Boost_LIBRARIES})
|
||||
target_link_libraries( createInlineItemTest opmparser ${Boost_LIBRARIES})
|
||||
|
||||
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/generated-source/inlineItemTest.cpp
|
||||
COMMAND createInlineItemTest ${PROJECT_BINARY_DIR}/generated-source/inlineItemTest.cpp inlineItemTest
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
foreach(tapp StarTokenTests RawRecordTests RawKeywordTests)
|
||||
opm_add_test(run${tapp} SOURCES ${tapp}.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
endforeach()
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
opm_add_test(runErtTests SOURCES test_ert_wrapper.cpp
|
||||
LIBRARIES Parser ${Boost_LIBRARIES})
|
||||
LIBRARIES opmparser ${Boost_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user