Files
ResInsight/ApplicationCode/ssihubInterface/CMakeLists.txt
Magne Sjaastad 261301ad4a Added ssihub test application
Improved ssihub dialog and tested authentication
p4#: 21768
2013-05-30 15:33:12 +02:00

40 lines
797 B
CMake

cmake_minimum_required (VERSION 2.8)
project (ssihubInterface)
# These headers need to go through Qt's MOC compiler
set( QOBJECT_HEADERS
ssihubWebServiceInterface.h
ssihubDialog.h
httpwindow.h
)
set( QT_UI_FILES
authenticationdialog.ui
)
if ( (${CMAKE_VERSION} VERSION_LESS 2.8.6) OR (NOT CMAKE_AUTOMOC) )
qt4_wrap_cpp( MOC_FILES_CPP ${QOBJECT_HEADERS} )
qt4_wrap_ui( FORM_FILES_CPP ${QT_UI_FILES} )
endif()
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../FileInterface
)
add_library( ${PROJECT_NAME}
ssihubInterface.cpp
ssihubWebServiceInterface.cpp
ssihubDialog.cpp
httpwindow.cpp
${CMAKE_CURRENT_SOURCE_DIR}/../FileInterface/RifJsonEncodeDecode.cpp
${MOC_FILES_CPP}
${FORM_FILES_CPP}
)