CMakeLists.txt   CMakeLists.txt 
skipping to change at line 15 skipping to change at line 15
gui/validators gui/validators
gui/widgets gui/widgets
models models
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/plugins/LogBook/src ${CMAKE_BINARY_DIR}/plugins/LogBook/src
) )
LINK_DIRECTORIES(/src) LINK_DIRECTORIES(/src)
SET(LogBook_SRCS SET(LogBook_SRCS
LogBook.hpp LogBook.hpp
LogBook.cpp LogBook.cpp
LogBookCommon.hpp LogBookCommon.hpp
gui/LogBookDialog.hpp gui/LogBookConfigDialog.hpp
gui/LogBookDialog.cpp gui/LogBookConfigDialog.cpp
gui/LogBookConfigDialog.hpp gui/ObservationsDialog.hpp
gui/LogBookConfigDialog.cpp gui/ObservationsDialog.cpp
gui/StelDialogLogBook.hpp gui/SessionsDialog.hpp
gui/StelDialogLogBook.cpp gui/SessionsDialog.cpp
gui/TargetsDialog.hpp gui/StelDialogLogBook.hpp
gui/TargetsDialog.cpp gui/StelDialogLogBook.cpp
gui/dataMappers/BarlowsDataMapper.hpp gui/TargetsDialog.hpp
gui/dataMappers/BarlowsDataMapper.cpp gui/TargetsDialog.cpp
gui/dataMappers/FiltersDataMapper.hpp gui/dataMappers/BarlowsDataMapper.hpp
gui/dataMappers/FiltersDataMapper.cpp gui/dataMappers/BarlowsDataMapper.cpp
gui/dataMappers/ImagersDataMapper.hpp gui/dataMappers/FiltersDataMapper.hpp
gui/dataMappers/ImagersDataMapper.cpp gui/dataMappers/FiltersDataMapper.cpp
gui/dataMappers/ObserversDataMapper.hpp gui/dataMappers/ImagersDataMapper.hpp
gui/dataMappers/ObserversDataMapper.cpp gui/dataMappers/ImagersDataMapper.cpp
gui/dataMappers/OcularsDataMapper.hpp gui/dataMappers/ObserversDataMapper.hpp
gui/dataMappers/OcularsDataMapper.cpp gui/dataMappers/ObserversDataMapper.cpp
gui/dataMappers/OpticsDataMapper.hpp gui/dataMappers/OcularsDataMapper.hpp
gui/dataMappers/OpticsDataMapper.cpp gui/dataMappers/OcularsDataMapper.cpp
gui/dataMappers/SitesDataMapper.hpp gui/dataMappers/OpticsDataMapper.hpp
gui/dataMappers/SitesDataMapper.cpp gui/dataMappers/OpticsDataMapper.cpp
gui/validators/LimitingDoubleValidator.hpp gui/dataMappers/SitesDataMapper.hpp
gui/validators/LimitingDoubleValidator.cpp gui/dataMappers/SitesDataMapper.cpp
gui/validators/LimitingIntValidator.hpp gui/validators/LimitingDoubleValidator.hpp
gui/validators/LimitingIntValidator.cpp gui/validators/LimitingDoubleValidator.cpp
gui/validators/NonEmptyStringValidator.hpp gui/validators/LimitingIntValidator.hpp
gui/validators/NonEmptyStringValidator.cpp gui/validators/LimitingIntValidator.cpp
gui/widgets/LogBookTextEdit.hpp gui/validators/NonEmptyStringValidator.hpp
gui/widgets/LogBookTextEdit.cpp gui/validators/NonEmptyStringValidator.cpp
models/FieldConcatModel.hpp gui/widgets/LogBookTextEdit.hpp
models/FieldConcatModel.cpp gui/widgets/LogBookTextEdit.cpp
models/FieldConcatModel.hpp
models/FieldConcatModel.cpp
) )
### These source groups are only needed for grouping files in an IDE ### These source groups are only needed for grouping files in an IDE
SOURCE_GROUP(GUI FILES REGULAR_EXPRESSION .*Dialog*.+pp) SOURCE_GROUP(GUI FILES REGULAR_EXPRESSION .*Dialog*.+pp|ui$)
SOURCE_GROUP(DataMappers FILES REGULAR_EXPRESSION .*DataMapper.+pp) SOURCE_GROUP(DataMappers FILES REGULAR_EXPRESSION .*DataMapper.+pp)
SOURCE_GROUP(Models FILES REGULAR_EXPRESSION .*Model.+pp) SOURCE_GROUP(Models FILES REGULAR_EXPRESSION .*Model.+pp)
SOURCE_GROUP(Validators FILES REGULAR_EXPRESSION .*Validator*.+pp) SOURCE_GROUP(Validators FILES REGULAR_EXPRESSION .*Validator*.+pp)
SOURCE_GROUP("moc Files" FILES REGULAR_EXPRESSION moc_.*cxx$) SOURCE_GROUP("moc Files" FILES REGULAR_EXPRESSION moc_.*cxx$)
SET(LogBook_RES ../resources/LogBook.qrc) SET(LogBook_RES ../resources/LogBook.qrc)
QT4_ADD_RESOURCES(LogBook_RES_CXX ${LogBook_RES}) QT4_ADD_RESOURCES(LogBook_RES_CXX ${LogBook_RES})
################# compiles .ui files ############ ################# compiles .ui files ############
SET(LogBook_UIS SET(LogBook_UIS
gui/BarlowsWidget.ui gui/BarlowsWidget.ui
gui/FiltersWidget.ui gui/FiltersWidget.ui
gui/ImagersWidget.ui gui/ImagersWidget.ui
gui/LogBookDialog.ui gui/LogBookConfigDialog.ui
gui/LogBookConfigDialog.ui gui/ObservationsDialog.ui
gui/ObserversWidget.ui gui/ObserversWidget.ui
gui/OcularsWidget.ui gui/OcularsWidget.ui
gui/OpticsWidget.ui gui/OpticsWidget.ui
gui/SitesWidget.ui gui/SitesWidget.ui
gui/TargetsDialog.ui gui/SessionsDialog.ui
gui/TargetsDialog.ui
) )
QT4_WRAP_UI(LogBook_UIS_H ${LogBook_UIS}) QT4_WRAP_UI(LogBook_UIS_H ${LogBook_UIS})
# Add here all the files which require moc compilation # Add here all the files which require moc compilation
# that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc.. # that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc..
SET(LogBook_MOC_HDRS SET(LogBook_MOC_HDRS
LogBook.hpp LogBook.hpp
gui/LogBookDialog.hpp
gui/LogBookConfigDialog.hpp gui/LogBookConfigDialog.hpp
gui/ObservationsDialog.hpp
gui/SessionsDialog.hpp
gui/StelDialogLogBook.hpp gui/StelDialogLogBook.hpp
gui/TargetsDialog.hpp gui/TargetsDialog.hpp
gui/dataMappers/BarlowsDataMapper.hpp gui/dataMappers/BarlowsDataMapper.hpp
gui/dataMappers/FiltersDataMapper.hpp gui/dataMappers/FiltersDataMapper.hpp
gui/dataMappers/ImagersDataMapper.hpp gui/dataMappers/ImagersDataMapper.hpp
gui/dataMappers/ObserversDataMapper.hpp gui/dataMappers/ObserversDataMapper.hpp
gui/dataMappers/OcularsDataMapper.hpp gui/dataMappers/OcularsDataMapper.hpp
gui/dataMappers/OpticsDataMapper.hpp gui/dataMappers/OpticsDataMapper.hpp
gui/dataMappers/SitesDataMapper.hpp gui/dataMappers/SitesDataMapper.hpp
gui/validators/LimitingDoubleValidator.hpp gui/validators/LimitingDoubleValidator.hpp
gui/validators/LimitingIntValidator.hpp gui/validators/LimitingIntValidator.hpp
gui/validators/NonEmptyStringValidator.hpp gui/validators/NonEmptyStringValidator.hpp
gui/widgets/LogBookTextEdit.hpp gui/widgets/LogBookTextEdit.hpp
models/FieldConcatModel.hpp models/FieldConcatModel.hpp
) )
# After this call, LogBook_MOC_SRCS = moc_LogBook.cxx # After this call, LogBook_MOC_SRCS = moc_LogBook.cxx
QT4_WRAP_CPP(LogBook_MOC_SRCS ${LogBook_MOC_HDRS}) QT4_WRAP_CPP(LogBook_MOC_SRCS ${LogBook_MOC_HDRS})
SET(QT_USE_QTSQL TRUE) SET(QT_USE_QTSQL TRUE)
INCLUDE(${QT_USE_FILE}) INCLUDE(${QT_USE_FILE})
SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES}) SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES})
skipping to change at line 141 skipping to change at line 145
INSTALL(TARGETS LogBook DESTINATION "modules/${PACKAGE}") INSTALL(TARGETS LogBook DESTINATION "modules/${PACKAGE}")
ENDIF() ENDIF()
############### For building the static library ###################### ############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS) IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(LogBook-static ADD_LIBRARY(LogBook-static
STATIC ${LogBook_SRCS} ${LogBook_MOC_SRCS} ${LogBook_RES_CXX } ${LogBook_UIS_H} STATIC ${LogBook_SRCS} ${LogBook_MOC_SRCS} ${LogBook_RES_CXX } ${LogBook_UIS_H}
) )
SET_TARGET_PROPERTIES(LogBook-static PROPERTIES OUTPUT_NAME "LogBook ") SET_TARGET_PROPERTIES(LogBook-static PROPERTIES OUTPUT_NAME "LogBook ")
TARGET_LINK_LIBRARIES(LogBook-static ${StelMain} ${extLinkerOption}) TARGET_LINK_LIBRARIES(LogBook-static ${StelMain} ${extLinkerOption})
IF(WIN32) SET_TARGET_PROPERTIES(LogBook-static PROPERTIES COMPILE_FLAGS "-DQT_
SET_TARGET_PROPERTIES(LogBook-static PROPERTIES COMPILE_FLAG STATICPLUGIN")
S "-DQT_STATICPLUGIN")
ELSE()
SET_TARGET_PROPERTIES(LogBook-static PROPERTIES COMPILE_FLAG
S "-fPIC -DQT_STATICPLUGIN")
ENDIF()
ADD_DEPENDENCIES(AllStaticPlugins LogBook-static) ADD_DEPENDENCIES(AllStaticPlugins LogBook-static)
ENDIF() ENDIF()
 End of changes. 8 change blocks. 
57 lines changed or deleted 56 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/