changed: rename Parser to opmparser for consistency

This commit is contained in:
Arne Morten Kvarving
2015-05-26 13:03:31 +02:00
parent 4ed965bf55
commit 2acd2db5d0
13 changed files with 17 additions and 17 deletions

View File

@@ -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} )

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -1,2 +1,2 @@
opm_add_test(runEclipseStateTests SOURCES EclipseStateTests.cpp
LIBRARIES Parser ${Boost_LIBRARIES})
LIBRARIES opmparser ${Boost_LIBRARIES})

View File

@@ -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()

View File

@@ -1,3 +1,3 @@
opm_add_test(runOpmLogTests SOURCES OpmLogTests.cpp
EXE_NAME runOpmLogTests
LIBRARIES Parser ${Boost_LIBRARIES})
LIBRARIES opmparser ${Boost_LIBRARIES})

View File

@@ -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

View File

@@ -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()

View File

@@ -1,2 +1,2 @@
opm_add_test(runErtTests SOURCES test_ert_wrapper.cpp
LIBRARIES Parser ${Boost_LIBRARIES})
LIBRARIES opmparser ${Boost_LIBRARIES})