Skip to content
Newer
Older
100644 175 lines (154 sloc) 5.12 KB
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
1 #! /bin/sh
2
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
3 # __BEGIN_LICENSE__
426c2c3 all: Relicense VW as Apache 2
Zack Moratto authored Jun 5, 2012
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.
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
18 # __END_LICENSE__
19
20 ### config.options.example
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
21 #
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
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.
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
33
43c13e1 Some new introductory documentation, lots of
Matthew Hancher authored Nov 27, 2006
34 # ENABLE_DEBUG=no
35 # ENABLE_OPTIMIZE=yes
9fef974 @broxtronix Added PREFIX as an example in config.options.example.
broxtronix authored May 20, 2009
36 # PREFIX=/foo/bar
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
37
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
38
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
39 ### Module Configuration
40 #
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
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
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
51 # ENABLE_MODULE_MOSAIC=yes
52 # ENABLE_MODULE_CAMERA=yes
53 # ENABLE_MODULE_CARTOGRAPHY=yes
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
54 # ENABLE_MODULE_HDR=yes
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
55
56
57 ### Package Base Paths
58 #
41b5680 Tweaked up the example config.options file.
Matthew Hancher authored Nov 28, 2006
59 # Alternative command-line syntax: --with-paths=val
60 #
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
61 # Set these to the directories that contain lib/include directories
b7498a3 @broxtronix Clarified a comment in config.options.example.
broxtronix authored Jun 1, 2007
62 # for packages in non-standard locations. List multiple search
63 # directories by seperating them with whitespace.
059a0ed @broxtronix Added example config.options files for both IRG and generic distribut…
broxtronix authored Oct 31, 2006
64
43c13e1 Some new introductory documentation, lots of
Matthew Hancher authored Nov 27, 2006
65 # PKG_PATHS="/foo/bar"
8eab614 @novas0x2a provide an example for using pkg-config or *-config scripts
novas0x2a authored Apr 23, 2009
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)
82a8b56 @oleg-alexandrov Added a real config.options.example
oleg-alexandrov authored Apr 28, 2014
82
83 # The path to the installed 3rd party libraries
84 BASE=$HOME/projects/base_system
85
86 # Installation prefix
87 PREFIX=$PWD/build
88
89 ENABLE_DEBUG=yes
90 ENABLE_OPTIMIZE=yes
91 ENABLE_RPATH=yes
92 ENABLE_AS_NEEDED=yes
93 ENABLE_NO_UNDEFINED=yes
94 ENABLE_PKG_PATHS_DEFAULT=no
95 ENABLE_STATIC=no
96 ENABLE_QT-QMAKE=no
97
98 ENABLE_MODULE_CAMERA=yes
99 ENABLE_MODULE_MOSAIC=yes
100 ENABLE_MODULE_INTERESTPOINT=yes
101 ENABLE_MODULE_CARTOGRAPHY=yes
102 ENABLE_MODULE_HDR=yes
103 ENABLE_MODULE_STEREO=yes
104 ENABLE_MODULE_GEOMETRY=yes
105 ENABLE_MODULE_TOOLS=yes
106 ENABLE_MODULE_BUNDLEADJUSTMENT=yes
7c7c367 @oleg-alexandrov config.options.example: Minor tuning
oleg-alexandrov authored Apr 29, 2014
107 ENABLE_MODULE_GUI=yes
82a8b56 @oleg-alexandrov Added a real config.options.example
oleg-alexandrov authored Apr 29, 2014
108 ENABLE_MODULE_GPU=no
109 ENABLE_MODULE_PLATE=no
110 ENABLE_MODULE_PYTHON=no
111
112 HAVE_PKG_JPEG=$BASE
113 PKG_JPEG_CPPFLAGS="-I$BASE/include"
114 PKG_JPEG_LDFLAGS="-L$BASE/lib"
115 HAVE_PKG_PNG=$BASE
116 PKG_PNG_CPPFLAGS="-I$BASE/include"
117 PKG_PNG_LDFLAGS="-L$BASE/lib"
118 HAVE_PKG_GDAL=$BASE
119 PKG_GDAL_CPPFLAGS="-I$BASE/include"
120 PKG_GDAL_LDFLAGS="-L$BASE/lib -ltiff -ljpeg -lpng -lz -lopenjp2"
121 HAVE_PKG_PROJ4=$BASE
122 PKG_PROJ4_CPPFLAGS="-I$BASE/include"
123 PKG_PROJ4_LDFLAGS="-L$BASE/lib"
124 HAVE_PKG_Z=$BASE
125 PKG_Z_CPPFLAGS="-I$BASE/include"
126 PKG_Z_LDFLAGS="-L$BASE/lib"
127 HAVE_PKG_ILMBASE=$BASE
128 PKG_ILMBASE_CPPFLAGS="-I$BASE/include"
129 PKG_ILMBASE_LDFLAGS="-L$BASE/lib"
130 HAVE_PKG_OPENEXR=$BASE
131 PKG_OPENEXR_CPPFLAGS="-I$BASE/include"
132 PKG_OPENEXR_LDFLAGS="-L$BASE/lib"
133 HAVE_PKG_BOOST=$BASE
134 PKG_BOOST_CPPFLAGS="-I$BASE/include"
135 PKG_BOOST_LDFLAGS="-L$BASE/lib"
136 HAVE_PKG_FLAPACK=$BASE
137 PKG_FLAPACK_CPPFLAGS="-I$BASE/include"
138 PKG_FLAPACK_LDFLAGS="-L$BASE/lib"
139 HAVE_PKG_PROTOBUF=$BASE
140 PKG_PROTOBUF_CPPFLAGS="-I$BASE/include"
141 PKG_PROTOBUF_LDFLAGS="-L$BASE/lib"
142 HAVE_PKG_FLANN=$BASE
143 PKG_FLANN_CPPFLAGS="-I$BASE/include"
144 PKG_FLANN_LDFLAGS="-L$BASE/lib"
7c7c367 @oleg-alexandrov config.options.example: Minor tuning
oleg-alexandrov authored Apr 29, 2014
145 HAVE_PKG_QT=$BASE
146 PKG_QT_CPPFLAGS="-I$BASE/include"
147 PKG_QT_LDFLAGS="-L$BASE/lib"
148 HAVE_PKG_ARBITRARY_QT=$BASE
149 PKG_ARBITRARY_QT_CPPFLAGS="-I$BASE/include"
150 PKG_ARBITRARY_QT_LDFLAGS="-L$BASE/lib"
82a8b56 @oleg-alexandrov Added a real config.options.example
oleg-alexandrov authored Apr 29, 2014
151 HAVE_PKG_TIFF=no
152 HAVE_PKG_HDR=no
153 HAVE_PKG_CAIROMM=no
154 HAVE_PKG_TCMALLOC=no
155 HAVE_PKG_X11=no
156 HAVE_PKG_CLAPACK=no
157 HAVE_PKG_SLAPACK=no
158 HAVE_PKG_OPENCV=no
159 HAVE_PKG_CG=no
160 HAVE_PKG_ZEROMQ=no
161 HAVE_PKG_RABBITMQ_C=no
162 HAVE_PKG_QT_QMAKE=no
163 HAVE_PKG_APPLE_QMAKE_QT=no
164 HAVE_PKG_LINUX_QMAKE_QT=no
165 HAVE_PKG_GUESS_QT=no
166
167 QT_ARBITRARY_MODULES="QtCore QtGui QtNetwork QtSql QtSvg QtXml QtXmlPatterns"
168 PKG_ARBITRARY_QT_LIBS="-L$BASE/lib -lQtCore -lQtGui -lQtNetwork -lQtSql -lQtSvg -lQtXml -lQtXmlPatterns"
169 PKG_ARBITRARY_QT_MORE_LIBS="-lpng -lz"
7c7c367 @oleg-alexandrov config.options.example: Minor tuning
oleg-alexandrov authored Apr 29, 2014
170 MOC=$BASE/bin/moc
171 PROTOC=$BASE/bin/protoc
172
173 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"
82a8b56 @oleg-alexandrov Added a real config.options.example
oleg-alexandrov authored Apr 29, 2014
174
Something went wrong with that request. Please try again.