Advertisement
Guest User

Config options for VisonWorkbench

a guest
Jul 23rd, 2014
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.36 KB | None | 0 0
  1. #! /bin/sh
  2.  
  3. # __BEGIN_LICENSE__
  4. #  Copyright (c) 2006-2012, United States Government as represented by the
  5. #  Administrator of the National Aeronautics and Space Administration. All
  6. #  rights reserved.
  7. #
  8. #  The NASA Vision Workbench is licensed under the Apache License,
  9. #  Version 2.0 (the "License"); you may not use this file except in
  10. #  compliance with the License. You may obtain a copy of the License at
  11. #  http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. #  Unless required by applicable law or agreed to in writing, software
  14. #  distributed under the License is distributed on an "AS IS" BASIS,
  15. #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. #  See the License for the specific language governing permissions and
  17. #  limitations under the License.
  18. # __END_LICENSE__
  19.  
  20. ### config.options.example
  21. #
  22. # This file demonstrates how to configure the NASA Vision Workbench
  23. # in various ways.  To use it, rename or copy it to "config.options"
  24. # and uncomment or modify the appropriate lines below.
  25.  
  26.  
  27. ### Configure Options
  28. #
  29. # Alternative command-line syntax:  --enable-foo[=val]
  30. #
  31. # These options allow you modify the basic behavior of the build
  32. # environment.
  33.  
  34. # ENABLE_DEBUG=no
  35. # ENABLE_OPTIMIZE=yes
  36. # PREFIX=/foo/bar
  37.  
  38.  
  39. ### Module Configuration
  40. #
  41. # Alternative command-line syntax:  --enable-module-foo[=val]
  42. #
  43. # Uncomment the following lines to explicitly enable or disable
  44. # certain modules.  These options override the default behavior, which
  45. # is to build all modules that can be built with the libraries that
  46. # you have installed on your system.  Note that no module will be
  47. # built if its required software dependencies cannot be found.  Look
  48. # at the output from ./configure to see what modules will ultimately
  49. # be built.
  50.  
  51. # ENABLE_MODULE_MOSAIC=yes
  52. # ENABLE_MODULE_CAMERA=yes
  53. # ENABLE_MODULE_CARTOGRAPHY=yes
  54. # ENABLE_MODULE_HDR=yes
  55.  
  56.  
  57. ### Package Base Paths
  58. #
  59. # Alternative command-line syntax:  --with-paths=val
  60. #
  61. # Set these to the directories that contain lib/include directories
  62. # for packages in non-standard locations.  List multiple search
  63. # directories by seperating them with whitespace.  
  64.  
  65. # PKG_PATHS="/foo/bar"
  66.  
  67. ### Using pkg-config or *-config
  68. #
  69. # The only upstream-supported method of detecting some libraries is through the
  70. # (new-style) pkg-config or (old-style) *-config (ex: gdal-config) scripts.
  71. #
  72. # Our build system doesn't support this directly yet, but this is the way we
  73. # support using them:
  74. #
  75. # PKG_GDAL_CPPFLAGS=$(gdal-config --cflags)
  76. # PKG_GDAL_LIBS=$(gdal-config --libs)
  77. #
  78. # or
  79. #
  80. # PKG_PNG_CPPFLAGS=$(pkg-config --cflags libpng)
  81. # PKG_PNG_LIBS=$(pkg-config --libs libpng)
  82.  
  83. # The path to the installed 3rd party libraries
  84. #BASE=$HOME/projects/base_system
  85. BASE=/usr/
  86.  
  87. # Installation prefix
  88. PREFIX=$PWD/build
  89.  
  90. ENABLE_DEBUG=yes
  91. ENABLE_OPTIMIZE=yes
  92. ENABLE_RPATH=yes
  93. ENABLE_AS_NEEDED=yes
  94. ENABLE_NO_UNDEFINED=yes
  95. ENABLE_PKG_PATHS_DEFAULT=no
  96. ENABLE_STATIC=no
  97. ENABLE_QT-QMAKE=no
  98.  
  99. ENABLE_MODULE_CAMERA=yes
  100. ENABLE_MODULE_MOSAIC=yes
  101. ENABLE_MODULE_INTERESTPOINT=yes
  102. ENABLE_MODULE_CARTOGRAPHY=yes
  103. ENABLE_MODULE_HDR=yes
  104. ENABLE_MODULE_STEREO=yes
  105. ENABLE_MODULE_GEOMETRY=yes
  106. ENABLE_MODULE_TOOLS=yes
  107. ENABLE_MODULE_BUNDLEADJUSTMENT=yes
  108. ENABLE_MODULE_GUI=no
  109. ENABLE_MODULE_GPU=yes
  110. ENABLE_MODULE_PLATE=no
  111. ENABLE_MODULE_PYTHON=yes
  112.  
  113. HAVE_PKG_JPEG=$BASE
  114. PKG_JPEG_CPPFLAGS="-I$BASE/include"
  115. PKG_JPEG_LDFLAGS="-L$BASE/lib"
  116. HAVE_PKG_PNG=$BASE
  117. PKG_PNG_CPPFLAGS="-I$BASE/include"
  118. PKG_PNG_LDFLAGS="-L$BASE/lib"
  119. HAVE_PKG_GDAL=$BASE
  120. PKG_GDAL_CPPFLAGS="-I$BASE/include"
  121. #PKG_GDAL_LDFLAGS="-L$BASE/lib -ltiff -ljpeg -lpng -lz -lopenjp2"
  122. PKG_GDAL_LDFLAGS="-L$BASE/lib -ltiff -ljpeg -lpng -lz"
  123. HAVE_PKG_PROJ4=$BASE
  124. PKG_PROJ4_CPPFLAGS="-I$BASE/include"
  125. PKG_PROJ4_LDFLAGS="-L$BASE/lib"
  126. HAVE_PKG_Z=$BASE
  127. PKG_Z_CPPFLAGS="-I$BASE/include"
  128. PKG_Z_LDFLAGS="-L$BASE/lib"
  129. HAVE_PKG_ILMBASE=$BASE
  130. PKG_ILMBASE_CPPFLAGS="-I$BASE/include"
  131. PKG_ILMBASE_LDFLAGS="-L$BASE/lib"
  132. HAVE_PKG_OPENEXR=$BASE
  133. PKG_OPENEXR_CPPFLAGS="-I$BASE/include"
  134. PKG_OPENEXR_LDFLAGS="-L$BASE/lib"
  135. HAVE_PKG_BOOST=$BASE
  136. PKG_BOOST_CPPFLAGS="-I$BASE/include"
  137. PKG_BOOST_LDFLAGS="-L$BASE/lib"
  138. HAVE_PKG_FLAPACK=$BASE
  139. PKG_FLAPACK_CPPFLAGS="-I$BASE/include"
  140. PKG_FLAPACK_LDFLAGS="-L$BASE/lib"
  141. HAVE_PKG_PROTOBUF=$BASE
  142. PKG_PROTOBUF_CPPFLAGS="-I$BASE/include"
  143. PKG_PROTOBUF_LDFLAGS="-L$BASE/lib"
  144. HAVE_PKG_FLANN=$BASE
  145. PKG_FLANN_CPPFLAGS="-I$BASE/include"
  146. PKG_FLANN_LDFLAGS="-L$BASE/lib"
  147. HAVE_PKG_QT=$BASE
  148. PKG_QT_CPPFLAGS="-I$BASE/include"
  149. PKG_QT_LDFLAGS="-L$BASE/lib"
  150. HAVE_PKG_ARBITRARY_QT=$BASE
  151. PKG_ARBITRARY_QT_CPPFLAGS="-I$BASE/include"
  152. PKG_ARBITRARY_QT_LDFLAGS="-L$BASE/lib"
  153. HAVE_PKG_TIFF=yes
  154. HAVE_PKG_HDR=yes
  155. HAVE_PKG_CAIROMM=no
  156. HAVE_PKG_TCMALLOC=no
  157. HAVE_PKG_X11=yes
  158. HAVE_PKG_CLAPACK=no
  159. HAVE_PKG_SLAPACK=no
  160. HAVE_PKG_OPENCV=no
  161. HAVE_PKG_CG=no
  162. HAVE_PKG_ZEROMQ=no
  163. HAVE_PKG_RABBITMQ_C=no
  164. HAVE_PKG_QT_QMAKE=no
  165. HAVE_PKG_APPLE_QMAKE_QT=no
  166. HAVE_PKG_LINUX_QMAKE_QT=no
  167. HAVE_PKG_GUESS_QT=no
  168.  
  169. QT_ARBITRARY_MODULES="QtCore QtGui QtNetwork QtSql QtSvg QtXml QtXmlPatterns"
  170. PKG_ARBITRARY_QT_LIBS="-L$BASE/lib -lQtCore -lQtGui -lQtNetwork -lQtSql -lQtSvg -lQtXml -lQtXmlPatterns"
  171. PKG_ARBITRARY_QT_MORE_LIBS="-lpng -lz"
  172. MOC=$BASE/bin/moc
  173. PROTOC=$BASE/bin/protoc
  174.  
  175. CPPFLAGS="-I$BASE/include -I$BASE/include/QtCore -I$BASE/include/QtGui -I$BASE/include/QtNetwork -I$BASE/include/QtSql -I$BASE/include/QtSvg -I$BASE/include/QtXml -I$BASE/include/QtXmlPatterns"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement