From Jean-Sebastian Guay, "Here are the CMakeLists.txt files for the osgWidget examples, changed to use SETUP_EXAMPLE like the other examples."

This commit is contained in:
Robert Osfield 2008-07-15 18:53:16 +00:00
parent 43cedf9eb4
commit f1138fa684
14 changed files with 70 additions and 98 deletions

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetaddremove) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetaddremove osgwidgetaddremove.cpp) SET(TARGET_SRC osgwidgetaddremove.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetaddremove PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetaddremove)
INSTALL(TARGETS osgwidgetaddremove DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetbox) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetbox osgwidgetbox.cpp) SET(TARGET_SRC osgwidgetbox.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetbox PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetbox)
INSTALL(TARGETS osgwidgetbox DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetcanvas) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetcanvas osgwidgetcanvas.cpp) SET(TARGET_SRC osgwidgetcanvas.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetcanvas PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetcanvas)
INSTALL(TARGETS osgwidgetcanvas DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetframe) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetframe osgwidgetframe.cpp) SET(TARGET_SRC osgwidgetframe.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetframe PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetframe)
INSTALL(TARGETS osgwidgetframe DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetinput) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetinput osgwidgetinput.cpp) SET(TARGET_SRC osgwidgetinput.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetinput PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetinput)
INSTALL(TARGETS osgwidgetinput DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetlabel) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetlabel osgwidgetlabel.cpp) SET(TARGET_SRC osgwidgetlabel.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetlabel PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetlabel)
INSTALL(TARGETS osgwidgetlabel DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetmenu) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetmenu osgwidgetmenu.cpp) SET(TARGET_SRC osgwidgetmenu.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetmenu PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetmenu)
INSTALL(TARGETS osgwidgetmenu DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetnotebook) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetnotebook osgwidgetnotebook.cpp) SET(TARGET_SRC osgwidgetnotebook.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetnotebook PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetnotebook)
INSTALL(TARGETS osgwidgetnotebook DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetscrolled) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetscrolled osgwidgetscrolled.cpp) SET(TARGET_SRC osgwidgetscrolled.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetscrolled PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetscrolled)
INSTALL(TARGETS osgwidgetscrolled DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetshader) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetshader osgwidgetshader.cpp) SET(TARGET_SRC osgwidgetshader.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetshader PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetshader)
INSTALL(TARGETS osgwidgetshader DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetstyled) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetstyled osgwidgetstyled.cpp) SET(TARGET_SRC osgwidgetstyled.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetstyled PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetstyled)
INSTALL(TARGETS osgwidgetstyled DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgettable) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgettable osgwidgettable.cpp) SET(TARGET_SRC osgwidgettable.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgettable PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgettable)
INSTALL(TARGETS osgwidgettable DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetversion) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetversion osgwidgetversion.cpp) SET(TARGET_SRC osgwidgetversion.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetversion PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetversion)
INSTALL(TARGETS osgwidgetversion DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)

View File

@ -1,9 +1,7 @@
PROJECT(osgwidgetwindow) #this file is automatically generated
LINK_LIBRARIES(debug osgWidgetd optimized osgWidget)
ADD_EXECUTABLE(osgwidgetwindow osgwidgetwindow.cpp) SET(TARGET_SRC osgwidgetwindow.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
SET_TARGET_PROPERTIES(osgwidgetwindow PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) #### end var setup ###
SETUP_EXAMPLE(osgwidgetwindow)
INSTALL(TARGETS osgwidgetwindow DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)