Revision: 40464
http://brlcad.svn.sourceforge.net/brlcad/?rev=40464&view=rev
Author: starseeker
Date: 2010-09-04 17:29:42 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
Add in anim directory. Prototyping a macro to wrapp all of the exec files that
are to be installed - may both simplfy and speed up conversion.
Modified Paths:
--------------
brlcad/branches/cmake/CMakeLists.txt
Added Paths:
-----------
brlcad/branches/cmake/src/anim/CMakeLists.txt
Modified: brlcad/branches/cmake/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/CMakeLists.txt 2010-09-04 17:07:11 UTC (rev
40463)
+++ brlcad/branches/cmake/CMakeLists.txt 2010-09-04 17:29:42 UTC (rev
40464)
@@ -1104,6 +1104,7 @@
ADD_SUBDIRECTORY(src/libtclcad)
ADD_SUBDIRECTORY(src/libtermio)
ADD_SUBDIRECTORY(src/adrt)
+ADD_SUBDIRECTORY(src/anim)
# Now that everything is configured, print a summary of the build settings.
This is a bit complicated, but
# the basic idea is to print labels, "smart" spacers around those labels to
line everything up, and the
Added: brlcad/branches/cmake/src/anim/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/anim/CMakeLists.txt
(rev 0)
+++ brlcad/branches/cmake/src/anim/CMakeLists.txt 2010-09-04 17:29:42 UTC
(rev 40464)
@@ -0,0 +1,49 @@
+include_directories(
+ ${BRLCAD_BINARY_DIR}/include
+ ${BRLCAD_SOURCE_DIR}/include
+ ${TCL_INCLUDE_PATH}
+)
+
+add_definitions(
+ -DHAVE_CONFIG_H
+ -DBRLCADBUILD=1
+)
+
+# Flesh this out and make it standard? Add a regex to allow
+# srcs and libs to come in using spaces and get converted
+# to lists? Would work if we have no filenames/paths with spaces
+MACRO(BRLCAD_ADDEXEC execname srcs libs)
+ add_executable(${execname} ${srcs})
+ target_link_libraries(${execname} ${libs})
+ INSTALL(TARGETS ${execname} RUNTIME DESTINATION ${BRLCAD_INSTALL_BIN_DIR})
+ENDMACRO(BRLCAD_ADDEXEC execname srcs libs)
+
+BRLCAD_ADDEXEC(anim_cascade anim_cascade.c bn)
+
+BRLCAD_ADDEXEC(anim_fly anim_fly.c bu)
+
+BRLCAD_ADDEXEC(anim_hardtrack anim_hardtrack.c bn)
+
+BRLCAD_ADDEXEC(anim_keyread anim_keyread.c bn)
+
+BRLCAD_ADDEXEC(anim_lookat anim_lookat.c bn)
+
+BRLCAD_ADDEXEC(anim_offset anim_offset.c bn)
+
+BRLCAD_ADDEXEC(anim_orient anim_orient.c bn)
+
+BRLCAD_ADDEXEC(anim_script anim_script.c bn)
+
+BRLCAD_ADDEXEC(anim_sort anim_sort.c bu)
+
+BRLCAD_ADDEXEC(anim_time anim_time.c bu)
+
+BRLCAD_ADDEXEC(anim_track "anim_track.c;cattrack.c" bn)
+
+BRLCAD_ADDEXEC(anim_turn anim_turn.c bn)
+
+BRLCAD_ADDEXEC(chan_add chan_add.c bu)
+
+BRLCAD_ADDEXEC(chan_mult chan_mult.c bu)
+
+BRLCAD_ADDEXEC(chan_permute chan_permute.c bu)
Property changes on: brlcad/branches/cmake/src/anim/CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits