mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
44 lines
884 B
CMake
44 lines
884 B
CMake
cmake_minimum_required (VERSION 2.8.12)
|
|
|
|
project (cafPdmCvf)
|
|
|
|
# Qt
|
|
find_package ( Qt4 COMPONENTS QtCore QtGui QtMain )
|
|
include (${QT_USE_FILE})
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
cafPdmCoreColor3f.h
|
|
cafPdmUiCoreColor3f.cpp
|
|
cafPdmUiCoreColor3f.h
|
|
cafPdmXmlColor3f.cpp
|
|
cafPdmXmlColor3f.h
|
|
cafPdmFieldCvfColor.h
|
|
|
|
cafPdmCoreVec3d.h
|
|
cafPdmUiCoreVec3d.cpp
|
|
cafPdmUiCoreVec3d.h
|
|
cafPdmXmlVec3d.cpp
|
|
cafPdmXmlVec3d.h
|
|
cafPdmFieldCvfVec3d.h
|
|
|
|
cafPdmCoreMat4d.h
|
|
# cafPdmUiCoreVec3d.cpp no special editor for matrix is created yet
|
|
cafPdmUiCoreMat4d.h
|
|
cafPdmXmlMat4d.cpp
|
|
cafPdmXmlMat4d.h
|
|
cafPdmFieldCvfMat4d.h
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
target_link_libraries ( ${PROJECT_NAME}
|
|
cafUserInterface
|
|
LibCore
|
|
${QT_LIBRARIES}
|
|
)
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|