CMakeLists.txt   CMakeLists.txt 
skipping to change at line 31 skipping to change at line 31
TuiNodeFloat.cpp TuiNodeFloat.cpp
TuiNodeDateTime.hpp TuiNodeDateTime.hpp
TuiNodeDateTime.cpp TuiNodeDateTime.cpp
TuiNodeColor.hpp TuiNodeColor.hpp
TuiNodeColor.cpp TuiNodeColor.cpp
TuiNodeEnum.hpp TuiNodeEnum.hpp
TuiNodeEnum.cpp TuiNodeEnum.cpp
TextUserInterface.hpp TextUserInterface.hpp
TextUserInterface.cpp) TextUserInterface.cpp)
# Add here all the files which require moc compilation
# that is, all the headers with SIGNAL/SLOTS/PLUGIN_INTERFACE etc..
SET(TextUserInterface_MOC_HDRS
DummyDialog.hpp
TuiNode.hpp
TuiNodeActivate.hpp
TuiNodeEditable.hpp
TuiNodeBool.hpp
TuiNodeInt.hpp
TuiNodeDouble.hpp
TuiNodeFloat.hpp
TuiNodeDateTime.hpp
TuiNodeColor.hpp
TuiNodeEnum.hpp
TextUserInterface.hpp)
# After this call, TextUserInterface_MOC_SRCS = moc_TextUserInterface.cxx
QT4_WRAP_CPP(TextUserInterface_MOC_SRCS ${TextUserInterface_MOC_HDRS})
SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES}) SET(extLinkerOption ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${ICONV_LIBRARIES} ${INTL_LIBRARIES})
############### For building the dynamic library ###################### ############### For building the dynamic library ######################
IF(BUILD_DYNAMIC_PLUGINS) IF(BUILD_DYNAMIC_PLUGINS)
ADD_LIBRARY(TextUserInterface MODULE ${TextUserInterface_SRCS} ${Tex tUserInterface_MOC_SRCS}) ADD_LIBRARY(TextUserInterface MODULE ${TextUserInterface_SRCS})
IF(APPLE) IF(APPLE)
FIND_LIBRARY(OPENGL_LIBRARY OpenGL) FIND_LIBRARY(OPENGL_LIBRARY OpenGL)
MARK_AS_ADVANCED(OPENGL_LIBRARY) MARK_AS_ADVANCED(OPENGL_LIBRARY)
SET_TARGET_PROPERTIES(TextUserInterface PROPERTIES LINK_FLAG S "-undefined dynamic_lookup" SUFFIX ".dylib") SET_TARGET_PROPERTIES(TextUserInterface PROPERTIES LINK_FLAG S "-undefined dynamic_lookup" SUFFIX ".dylib")
ENDIF(APPLE) ENDIF(APPLE)
IF(WIN32) IF(WIN32)
SET_TARGET_PROPERTIES(TextUserInterface PROPERTIES LINK_FLAG S "-enable-runtime-pseudo-reloc -Wl,--allow-multiple-definition" ) SET_TARGET_PROPERTIES(TextUserInterface PROPERTIES LINK_FLAG S "-enable-runtime-pseudo-reloc -Wl,--allow-multiple-definition" )
SET(StelMain stelMain) SET(StelMain stelMain)
ELSE(WIN32) ELSE(WIN32)
SET(StelMain ) SET(StelMain )
ENDIF(WIN32) ENDIF(WIN32)
TARGET_LINK_LIBRARIES(TextUserInterface ${StelMain} ${extLinkerOptio n}) TARGET_LINK_LIBRARIES(TextUserInterface ${StelMain} ${extLinkerOptio n})
INSTALL(TARGETS TextUserInterface DESTINATION "modules/TextUserInter face") INSTALL(TARGETS TextUserInterface DESTINATION "modules/TextUserInter face")
ENDIF() ENDIF()
############### For building the static library ###################### ############### For building the static library ######################
IF(BUILD_STATIC_PLUGINS) IF(BUILD_STATIC_PLUGINS)
ADD_LIBRARY(TextUserInterface-static STATIC ${TextUserInterface_SRCS } ${TextUserInterface_MOC_SRCS}) ADD_LIBRARY(TextUserInterface-static STATIC ${TextUserInterface_SRCS })
# The library target "TextUserInterface-static" has a default OUTPUT _NAME of "TextUserInterface-static", so change it. # The library target "TextUserInterface-static" has a default OUTPUT _NAME of "TextUserInterface-static", so change it.
SET_TARGET_PROPERTIES(TextUserInterface-static PROPERTIES OUTPUT_NAM E "TextUserInterface") SET_TARGET_PROPERTIES(TextUserInterface-static PROPERTIES OUTPUT_NAM E "TextUserInterface")
TARGET_LINK_LIBRARIES(TextUserInterface-static ${extLinkerOption}) TARGET_LINK_LIBRARIES(TextUserInterface-static ${extLinkerOption})
SET_TARGET_PROPERTIES(TextUserInterface-static PROPERTIES COMPILE_FL AGS "-DQT_STATICPLUGIN") SET_TARGET_PROPERTIES(TextUserInterface-static PROPERTIES COMPILE_FL AGS "-DQT_STATICPLUGIN")
ADD_DEPENDENCIES(AllStaticPlugins TextUserInterface-static) ADD_DEPENDENCIES(AllStaticPlugins TextUserInterface-static)
ENDIF() ENDIF()
 End of changes. 3 change blocks. 
20 lines changed or deleted 2 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/