mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2536 Build System : Remove obsolete code for cmake older than "2.8.2"
This commit is contained in:
@@ -1,37 +1,32 @@
|
||||
|
||||
# Use this workaround until we're on 2.8.3 on all platforms and can use CMAKE_CURRENT_LIST_DIR directly
|
||||
if (${CMAKE_VERSION} VERSION_GREATER "2.8.2")
|
||||
set(CEE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_DIR}/)
|
||||
endif()
|
||||
|
||||
set (SOURCE_GROUP_HEADER_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowDiagSolution.h
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowPlotCollection.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellAllocationPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimTotalWellAllocationPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimTofAccumulatedPhaseFractionsPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellFlowRateCurve.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellAllocationPlotLegend.h
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowCharacteristicsPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellRftPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellPltPlot.h
|
||||
${CEE_CURRENT_LIST_DIR}RimDataSourceForRftPlt.h
|
||||
${CEE_CURRENT_LIST_DIR}RimWellPlotTools.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowDiagSolution.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowPlotCollection.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellAllocationPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimTotalWellAllocationPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimTofAccumulatedPhaseFractionsPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellFlowRateCurve.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellAllocationPlotLegend.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowCharacteristicsPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellRftPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellPltPlot.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimDataSourceForRftPlt.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellPlotTools.h
|
||||
)
|
||||
|
||||
set (SOURCE_GROUP_SOURCE_FILES
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowDiagSolution.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowPlotCollection.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellAllocationPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimTotalWellAllocationPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimTofAccumulatedPhaseFractionsPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellFlowRateCurve.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellAllocationPlotLegend.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimFlowCharacteristicsPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellRftPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellPltPlot.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimDataSourceForRftPlt.cpp
|
||||
${CEE_CURRENT_LIST_DIR}RimWellPlotTools.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowDiagSolution.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowPlotCollection.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellAllocationPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimTotalWellAllocationPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimTofAccumulatedPhaseFractionsPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellFlowRateCurve.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellAllocationPlotLegend.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimFlowCharacteristicsPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellRftPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellPltPlot.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimDataSourceForRftPlt.cpp
|
||||
${CMAKE_CURRENT_LIST_DIR}/RimWellPlotTools.cpp
|
||||
)
|
||||
|
||||
list(APPEND CODE_HEADER_FILES
|
||||
@@ -42,4 +37,4 @@ list(APPEND CODE_SOURCE_FILES
|
||||
${SOURCE_GROUP_SOURCE_FILES}
|
||||
)
|
||||
|
||||
source_group( "ProjectDataModel\\Flow" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CEE_CURRENT_LIST_DIR}CMakeLists_files.cmake )
|
||||
source_group( "ProjectDataModel\\Flow" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CMAKE_CURRENT_LIST_DIR}/CMakeLists_files.cmake )
|
||||
|
||||
Reference in New Issue
Block a user