Revision: 44626
http://brlcad.svn.sourceforge.net/brlcad/?rev=44626&view=rev
Author: starseeker
Date: 2011-05-18 14:35:44 +0000 (Wed, 18 May 2011)
Log Message:
-----------
Install glew.h, break out header and src logic.
Modified Paths:
--------------
brlcad/trunk/src/other/togl/CMakeLists.txt
brlcad/trunk/src/other/togl/src/CMakeLists.txt
Added Paths:
-----------
brlcad/trunk/src/other/togl/include/CMakeLists.txt
Modified: brlcad/trunk/src/other/togl/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/togl/CMakeLists.txt 2011-05-18 11:41:48 UTC (rev
44625)
+++ brlcad/trunk/src/other/togl/CMakeLists.txt 2011-05-18 14:35:44 UTC (rev
44626)
@@ -74,6 +74,7 @@
SET(TOGL_PKGNAME Togl)
SET(TOGL_PKGVERSION "2.1")
+ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(demo)
Added: brlcad/trunk/src/other/togl/include/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/togl/include/CMakeLists.txt
(rev 0)
+++ brlcad/trunk/src/other/togl/include/CMakeLists.txt 2011-05-18 14:35:44 UTC
(rev 44626)
@@ -0,0 +1,29 @@
+
+SET(TOGL_DECLS_H_TXT "
+#ifndef ToglDecls_H
+# define ToglDecls_H
+
+/*
+ * Togl - a Tk OpenGL widget
+ *
+ * Copyright (C) 1996-2002 Brian Paul and Ben Bederson
+ * Copyright (C) 2005-2009 Greg Couch
+ * See the LICENSE file for copyright details.
+ */
+
+/* !BEGIN!: Do not edit below this line. */
+
+/* !END!: Do not edit above this line. */
+
+#endif
+
+")
+FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/../src/toglDecls.h
"${TOGL_DECLS_H_TXT}")
+
+SET(TOGL_HDRS
+ togl.h
+ ${CMAKE_CURRENT_BINARY_DIR}/togl_config.h
+ ${CMAKE_CURRENT_BINARY_DIR}/../src/toglDecls.h
+ )
+install(FILES ${TOGL_HDRS} DESTINATION include/togl)
+install(FILES GL/glew.h DESTINATION include/GL)
Property changes on: brlcad/trunk/src/other/togl/include/CMakeLists.txt
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Modified: brlcad/trunk/src/other/togl/src/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/other/togl/src/CMakeLists.txt 2011-05-18 11:41:48 UTC
(rev 44625)
+++ brlcad/trunk/src/other/togl/src/CMakeLists.txt 2011-05-18 14:35:44 UTC
(rev 44626)
@@ -16,27 +16,6 @@
${CMAKE_CURRENT_SOURCE_DIR}/../include/tcltk/tk${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR}
)
-SET(TOGL_DECLS_H_TXT "
-#ifndef ToglDecls_H
-# define ToglDecls_H
-
-/*
- * Togl - a Tk OpenGL widget
- *
- * Copyright (C) 1996-2002 Brian Paul and Ben Bederson
- * Copyright (C) 2005-2009 Greg Couch
- * See the LICENSE file for copyright details.
- */
-
-/* !BEGIN!: Do not edit below this line. */
-
-/* !END!: Do not edit above this line. */
-
-#endif
-
-")
-FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/toglDecls.h "${TOGL_DECLS_H_TXT}")
-
SET(TOGL_STUB_INIT_TXT "
/*
* Togl - a Tk OpenGL widget
@@ -68,13 +47,6 @@
${CMAKE_CURRENT_BINARY_DIR}/STUBSDONE
)
-SET(TOGL_HDRS
- ${CMAKE_CURRENT_SOURCE_DIR}/../include/togl.h
- ${CMAKE_CURRENT_BINARY_DIR}/../include/togl_config.h
- ${CMAKE_CURRENT_BINARY_DIR}/toglDecls.h
- )
-install(FILES ${TOGL_HDRS} DESTINATION include/togl)
-
# If we re-run cmake, need to ensure we re-run togl_stubs_gen too
FILE(REMOVE ${CMAKE_CURRENT_BINARY_DIR}/STUBSDONE)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits