Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r380 - in branches/itanium2: . glfw


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r380 - in branches/itanium2: . glfw
  • Date: Mon, 13 Jun 2005 18:11:00 -0600 (MDT)

Author: abe
Date: Mon Jun 13 18:10:58 2005
New Revision: 380

Added:
   branches/itanium2/glfw/
   branches/itanium2/glfw/CMakeLists.txt
Modified:
   branches/itanium2/CMakeLists.txt
Log:
Added cmake file and directory for manta embedded in glfw application.

Modified: branches/itanium2/CMakeLists.txt
==============================================================================
--- branches/itanium2/CMakeLists.txt    (original)
+++ branches/itanium2/CMakeLists.txt    Mon Jun 13 18:10:58 2005
@@ -39,6 +39,7 @@
                     ${CMAKE_SOURCE_DIR}/SCIRun 
                     ${CMAKE_SOURCE_DIR}/SCIRun/include)
 
+
 SUBDIRS( SCIRun/Core
          Core
          Interface
@@ -49,5 +50,12 @@
          StandAlone
          Readers
          scenes )
+
+# Check to see whether the optional glfw/ directory should be included.
+SET(BUILD_GLFW 0 CACHE BOOL "Build glfw frontend.")  
+IF(BUILD_GLFW)
+  SUBDIRS(fox)
+ENDIF(BUILD_GLFW)
+
 
 

Added: branches/itanium2/glfw/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/itanium2/glfw/CMakeLists.txt       Mon Jun 13 18:10:58 2005
@@ -0,0 +1,27 @@
+
+SET(GLFW_PATH    "" CACHE PATH "Path to glfw install")
+
+IF(GLFW_PATH) 
+
+  SET(GLFW_INCLUDE ${GLFW_PATH}/include CACHE PATH "")
+  SET(GLFW_LIB     ${GLFW_PATH}/lib CACHE PATH "")
+  SET(GLFW_LINK    glfw CACHE STRING "")
+
+  INCLUDE_DIRECTORIES(${GLFW_INCLUDE})
+
+  ADD_EXECUTABLE(glfw_manta glfw_manta.cc)
+
+  TARGET_LINK_LIBRARIES(glfw_manta Manta_Engine 
+                                   Manta_UserInterface 
+                                   Manta_Model 
+                                   Manta_Image 
+                                   Manta_Interface 
+                                   Manta_Core 
+                                   SCIRun_Core)
+
+  TARGET_LINK_LIBRARIES(glfw_manta ${GLFW_LINK}
+                                   ${CMAKE_THREAD_LIBS_INIT}
+                                   ${OPENGL_LIBRARIES} 
+                                   ${X11_LIBRARIES} 
+                                   -lm)
+ENDIF(GLFW_PATH)
\ No newline at end of file




  • [MANTA] r380 - in branches/itanium2: . glfw, abe, 06/13/2005

Archive powered by MHonArc 2.6.16.

Top of page