mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
35 lines
560 B
CMake
35 lines
560 B
CMake
cmake_minimum_required (VERSION 2.8)
|
|
|
|
project (cafProjectDataModel)
|
|
|
|
# Qt
|
|
find_package ( Qt4 COMPONENTS QtCore QtGui )
|
|
include (${QT_USE_FILE})
|
|
|
|
set( PROJECT_FILES
|
|
cafFactory.h
|
|
cafOmpMutex.h
|
|
cafPdmDocument.cpp
|
|
cafPdmDocument.h
|
|
cafPdmObjectGroup.cpp
|
|
cafPdmObjectGroup.h
|
|
cafPdmObject.h
|
|
cafPdmField.h
|
|
)
|
|
|
|
add_library( ${PROJECT_NAME}
|
|
${PROJECT_FILES}
|
|
)
|
|
|
|
target_link_libraries ( ${PROJECT_NAME}
|
|
cafPdmUiCore
|
|
cafPdmXml
|
|
)
|
|
|
|
target_include_directories(${PROJECT_NAME}
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
source_group("" FILES ${PROJECT_FILES})
|