Revision: 290
http://artoolkit.svn.sourceforge.net/artoolkit/?rev=290&view=rev
Author: retrakker
Date: 2008-08-21 03:45:42 +0000 (Thu, 21 Aug 2008)
Log Message:
-----------
- added CMake files for examples
Modified Paths:
--------------
branches/hartmut-pre-2_8/artoolkit/examples/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/simpleLite/CMakeLists.txt
Added Paths:
-----------
branches/hartmut-pre-2_8/artoolkit/examples/collide/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/exview/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/loadMultiple/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/modeTest/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/multi/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/optical/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/paddle/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/paddleDemo/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/paddleInteraction/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/range/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/relation/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/simple/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/simple2/CMakeLists.txt
branches/hartmut-pre-2_8/artoolkit/examples/twoView/CMakeLists.txt
Modified: branches/hartmut-pre-2_8/artoolkit/examples/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/CMakeLists.txt 2008-08-20 04:18:49 UTC (rev 289)
+++ branches/hartmut-pre-2_8/artoolkit/examples/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -1,6 +1,15 @@
-ADD_SUBDIRECTORY(simpleLite)
-
-
-
-
-
+add_subdirectory(collide)
+add_subdirectory(exview)
+add_subdirectory(loadMultiple)
+add_subdirectory(modeTest)
+add_subdirectory(multi)
+add_subdirectory(optical)
+add_subdirectory(paddle)
+add_subdirectory(paddleDemo)
+add_subdirectory(paddleInteraction)
+add_subdirectory(range)
+add_subdirectory(relation)
+add_subdirectory(simple)
+add_subdirectory(simple2)
+add_subdirectory(simpleLite)
+add_subdirectory(twoView)
Added: branches/hartmut-pre-2_8/artoolkit/examples/collide/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/collide/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/collide/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,7 @@
+
+set(srcs
+ collideTest.c
+ object.c
+ object.h)
+
+artoolkit_example_glut(collide srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/exview/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/exview/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/exview/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,8 @@
+
+set(srcs
+ draw_object.c
+ exview.c
+ draw_object.h
+ )
+
+artoolkit_example_glut(exview srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/loadMultiple/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/loadMultiple/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/loadMultiple/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,8 @@
+
+set(srcs
+ loadMultiple.c
+ object.c
+ object.h
+ )
+
+artoolkit_example_glut(loadMultiple srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/modeTest/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/modeTest/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/modeTest/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,10 @@
+
+set(srcs
+ draw_object.c
+ modeTest.c
+ object.c
+ draw_object.h
+ object.h
+ )
+
+artoolkit_example_glut(modeTest srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/multi/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/multi/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/multi/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ multiTest.c
+ )
+
+artoolkit_example_glut(multiTest srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/optical/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/optical/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/optical/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,10 @@
+
+set(srcs
+ draw_object.c
+ object.c
+ optical.c
+ draw_object.h
+ object.h
+ )
+
+artoolkit_example_glut(optical srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/paddle/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/paddle/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/paddle/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,8 @@
+
+set(srcs
+ paddle.c
+ paddleTest.c
+ paddle.h
+ )
+
+artoolkit_example_glut(paddle srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/paddleDemo/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/paddleDemo/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/paddleDemo/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,12 @@
+
+set(srcs
+ command_sub.c
+ paddle.c
+ paddleDemo.c
+ util.c
+ command_sub.h
+ paddle.h
+ util.h
+ )
+
+artoolkit_example_glut(paddleDemo srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/paddleInteraction/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/paddleInteraction/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/paddleInteraction/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,8 @@
+
+set(srcs
+ paddle.c
+ paddleInteractionTest.c
+ paddle.h
+ )
+
+artoolkit_example_glut(paddleInteraction srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/range/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/range/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/range/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ rangeTest.c
+ )
+
+artoolkit_example_glut(rangeTest srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/relation/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/relation/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/relation/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ relationTest.c
+ )
+
+artoolkit_example_glut(relationTest srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/simple/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/simple/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/simple/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ simpleTest.c
+ )
+
+artoolkit_example_glut(simpleTest srcs)
\ No newline at end of file
Added: branches/hartmut-pre-2_8/artoolkit/examples/simple2/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/simple2/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/simple2/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ simpleTest2.c
+ )
+
+artoolkit_example_glut(simpleTest2 srcs)
\ No newline at end of file
Modified: branches/hartmut-pre-2_8/artoolkit/examples/simpleLite/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/simpleLite/CMakeLists.txt 2008-08-20 04:18:49 UTC (rev 289)
+++ branches/hartmut-pre-2_8/artoolkit/examples/simpleLite/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -1,13 +1,6 @@
-set(EXE_NAME simpleLite)
-set(SRCS simpleLite.c)
+set(srcs
+ simpleLite.c
+ )
-include_directories(${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIR})
-
-artoolkit_executable(${EXE_NAME} ${SRCS})
-
-message(STATUS "GLUT ${GLUT_LIBRARIES}")
-
-target_link_libraries(${EXE_NAME} AR ARgsub_lite ARvideo ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
-
-artoolkit_exe_install(${EXE_NAME})
+artoolkit_example_lite(simpleLite srcs)
Added: branches/hartmut-pre-2_8/artoolkit/examples/twoView/CMakeLists.txt
===================================================================
--- branches/hartmut-pre-2_8/artoolkit/examples/twoView/CMakeLists.txt (rev 0)
+++ branches/hartmut-pre-2_8/artoolkit/examples/twoView/CMakeLists.txt 2008-08-21 03:45:42 UTC (rev 290)
@@ -0,0 +1,6 @@
+
+set(srcs
+ twoView.c
+ )
+
+artoolkit_example_lite(twoView srcs)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|