mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
30 lines
1.0 KiB
CMake
30 lines
1.0 KiB
CMake
|
|
# 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}RicAppendIntersectionFeature.h
|
|
${CEE_CURRENT_LIST_DIR}RicNewSimWellIntersectionFeature.h
|
|
${CEE_CURRENT_LIST_DIR}RicNewWellPathIntersectionFeature.h
|
|
${CEE_CURRENT_LIST_DIR}RicNewPolylineIntersectionFeature.h
|
|
)
|
|
|
|
set (SOURCE_GROUP_SOURCE_FILES
|
|
${CEE_CURRENT_LIST_DIR}RicAppendIntersectionFeature.cpp
|
|
${CEE_CURRENT_LIST_DIR}RicNewSimWellIntersectionFeature.cpp
|
|
${CEE_CURRENT_LIST_DIR}RicNewWellPathIntersectionFeature.cpp
|
|
${CEE_CURRENT_LIST_DIR}RicNewPolylineIntersectionFeature.cpp
|
|
)
|
|
|
|
list(APPEND CODE_HEADER_FILES
|
|
${SOURCE_GROUP_HEADER_FILES}
|
|
)
|
|
|
|
list(APPEND CODE_SOURCE_FILES
|
|
${SOURCE_GROUP_SOURCE_FILES}
|
|
)
|
|
|
|
source_group( "CommandFeature\\CrossSection" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CEE_CURRENT_LIST_DIR}CMakeLists_files.cmake )
|