mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 07:16:53 -06:00
41 lines
1.2 KiB
CMake
41 lines
1.2 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}RiaApplication.h
|
|
${CEE_CURRENT_LIST_DIR}RiaDefines.h
|
|
${CEE_CURRENT_LIST_DIR}RiaPreferences.h
|
|
${CEE_CURRENT_LIST_DIR}RiaPorosityModel.h
|
|
${CEE_CURRENT_LIST_DIR}RiaSummaryCurveDefinition.h
|
|
${CEE_CURRENT_LIST_DIR}RiaRftPltCurveDefinition.h
|
|
)
|
|
|
|
set (SOURCE_GROUP_SOURCE_FILES
|
|
${CEE_CURRENT_LIST_DIR}RiaApplication.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaDefines.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaMain.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaPreferences.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaPorosityModel.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaSummaryCurveDefinition.cpp
|
|
${CEE_CURRENT_LIST_DIR}RiaRftPltCurveDefinition.cpp
|
|
)
|
|
|
|
list(APPEND CODE_HEADER_FILES
|
|
${SOURCE_GROUP_HEADER_FILES}
|
|
)
|
|
|
|
list(APPEND CODE_SOURCE_FILES
|
|
${SOURCE_GROUP_SOURCE_FILES}
|
|
)
|
|
|
|
set (QT_MOC_HEADERS
|
|
${QT_MOC_HEADERS}
|
|
${CEE_CURRENT_LIST_DIR}RiaApplication.h
|
|
)
|
|
|
|
|
|
source_group( "Application" FILES ${SOURCE_GROUP_HEADER_FILES} ${SOURCE_GROUP_SOURCE_FILES} ${CEE_CURRENT_LIST_DIR}CMakeLists_files.cmake )
|