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_PROPERTIES(osgwidgetaddremove PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetaddremove DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetaddremove.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetaddremove)

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_PROPERTIES(osgwidgetbox PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetbox DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetbox.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetbox)

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_PROPERTIES(osgwidgetcanvas PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetcanvas DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetcanvas.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetcanvas)

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_PROPERTIES(osgwidgetframe PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetframe DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetframe.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetframe)

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_PROPERTIES(osgwidgetinput PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetinput DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetinput.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetinput)

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_PROPERTIES(osgwidgetlabel PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetlabel DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetlabel.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetlabel)

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_PROPERTIES(osgwidgetmenu PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetmenu DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetmenu.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetmenu)

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_PROPERTIES(osgwidgetnotebook PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetnotebook DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetnotebook.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetnotebook)

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_PROPERTIES(osgwidgetscrolled PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetscrolled DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetscrolled.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetscrolled)

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_PROPERTIES(osgwidgetshader PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetshader DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetshader.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetshader)

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_PROPERTIES(osgwidgetstyled PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetstyled DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetstyled.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetstyled)

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_PROPERTIES(osgwidgettable PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgettable DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgettable.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgettable)

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_PROPERTIES(osgwidgetversion PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetversion DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetversion.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetversion)

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_PROPERTIES(osgwidgetwindow PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
INSTALL(TARGETS osgwidgetwindow DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
SET(TARGET_SRC osgwidgetwindow.cpp )
SET(TARGET_ADDED_LIBRARIES osgWidget )
#### end var setup ###
SETUP_EXAMPLE(osgwidgetwindow)