mirror of https://github.com/CGAL/cgal
deleted obsolete and unmaintained subdirs
* MacOSX_Installer (replaced by port/homebrew, with OK from Menelaos) * Modules (if we modularize we will do it with CMake these days) * Third_party (Laurent: fixes are published via webserver) Approved by the Release Manager
This commit is contained in:
parent
f3899f9f36
commit
dfaa8a9075
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,72 +0,0 @@
|
||||||
Instructions for creating the MacOS X Installer
|
|
||||||
|
|
||||||
Part I - Create the installer using the cgal_make_macosx_installer script
|
|
||||||
-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
The instructions below assume that you will be creating CGAL-X.Y
|
|
||||||
The instructions below work for versions of CGAL from 3.2 and up.
|
|
||||||
Noti
|
|
||||||
|
|
||||||
1. Copy the create_macosx_installer script to this directory (it can be found
|
|
||||||
in the Scripts package, under Scripts/developer_scripts).
|
|
||||||
2. Modify the create_macosx_installer script to reflect your current
|
|
||||||
CGAL version and/or configuration. In particular, make sure the
|
|
||||||
CGAL version number is set correctly and that the size of the disk
|
|
||||||
image to be created is big enough.
|
|
||||||
3. Modify the scripts and files in the Resources directory to reflect
|
|
||||||
the welcoming message (Welcome.rtf), the installations instructions
|
|
||||||
to the user (ReadMe.rtf) and the license (License.rtf) to reflect the
|
|
||||||
status of the release you are distributing.
|
|
||||||
4. This step requires the PackageMaker application that comes with Xcode
|
|
||||||
developer tools. Open CGAL-tmp.pmproj with PackageMaker in order to make
|
|
||||||
the appropriate modifications for version X.Y. In particular
|
|
||||||
a. in the Configuration section make sure that
|
|
||||||
i. the "Authentication" is set to "None"
|
|
||||||
ii. the "Relocatable" and "Follow Symbolic Links" flags are checked
|
|
||||||
and that all other flags are unchecked.
|
|
||||||
b. Modify the package version and info string to reflect the current
|
|
||||||
version and copyright year.
|
|
||||||
The rest should be okay are they are. Save the project, quit PackageMaker
|
|
||||||
and commit the project to the svn server.
|
|
||||||
5. Run the create_macosx_installer by giving as argument the location
|
|
||||||
of the CGAL tarball. For example if you want to build CGAL-X.Y and
|
|
||||||
the tarball is located at your home directory run:
|
|
||||||
./create_macosx_installer ~/CGAL-X.Y.tar.gz X.Y
|
|
||||||
6. Once the script is done there should be a disk image in this directory
|
|
||||||
named CGAL-X.Y.dmg. This is your MacOSX distribution.
|
|
||||||
|
|
||||||
|
|
||||||
Part II - Create the installer manually
|
|
||||||
---------------------------------------
|
|
||||||
|
|
||||||
The instructions below assume that you will be creating CGAL-X.Y
|
|
||||||
Make the appropriate modifications for building other releases.
|
|
||||||
The instructions below work for versions of CGAL from 3.2 and up.
|
|
||||||
|
|
||||||
1. Put the CGAL root directory under Package_root. Make sure you
|
|
||||||
have stripped all directories and files that do not go to the
|
|
||||||
release. The directory inside Package_root should be named CGAL-X.Y
|
|
||||||
2. Modify the scripts and files in the Resources directory to reflect
|
|
||||||
the welcoming message (Welcome.rtf), the installations instructions
|
|
||||||
to the user (ReadMe.rtf) and the license (License.rtf) to reflect the
|
|
||||||
status of the release you are distributing.
|
|
||||||
3. This step requires the PackageMaker application that comes with Xcode
|
|
||||||
developer tools. Open CGAL.pmproj with PackageMaker in order to make
|
|
||||||
the appropriate modifications for version X.Y. In particular
|
|
||||||
a. in the Configuration section make sure that
|
|
||||||
i. the "Authentication" is set to "None"
|
|
||||||
ii. the "Relocatable" and "Follow Symbolic Links" flags are checked
|
|
||||||
and that all other flags are unchecked.
|
|
||||||
b. Modify the package version and info string to reflect the current
|
|
||||||
version and copyright year.
|
|
||||||
The rest should be okay are they are.
|
|
||||||
4. Save your new project and type Apple+B to build the package.
|
|
||||||
Save it as CGAL.pkg. Eventually commit your new project to the
|
|
||||||
svn server.
|
|
||||||
5. Open the DiskUtility and create a read-write disk image (named
|
|
||||||
CGAL-X.Y.dmg) with the appropriate size. Copy CGAL.pkg in the disk
|
|
||||||
image. Eject the disk image. Using the DiskUtility application convert
|
|
||||||
the CGAL-X.Y.dmg disk image to a read-only disk image. Save the new
|
|
||||||
disk image as CGAL-X.Y-RO.dmg. Discard your read-write image and
|
|
||||||
rename CGAL-X.Y-RO.dmg to CGAL-X.Y.dmg. This is your MacOSX distribution.
|
|
||||||
You all set!!!
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
||||||
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf330
|
|
||||||
{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fmodern\fcharset77 Courier;
|
|
||||||
}
|
|
||||||
{\colortbl;\red255\green255\blue255;\red1\green6\blue255;}
|
|
||||||
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural
|
|
||||||
|
|
||||||
\f0\b\fs24 \cf0 LICENSE\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f1\b0 \cf0 \
|
|
||||||
The CGAL software consists of several parts, each of which is\
|
|
||||||
licensed under an open source license. It is also possible to obtain\
|
|
||||||
commercial licenses from\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural
|
|
||||||
\cf0 GeometryFactory (
|
|
||||||
\f2 \cf2 www.geometryfactory.com
|
|
||||||
\f1 \cf0 )\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
\cf0 for all or parts of CGAL.\
|
|
||||||
\
|
|
||||||
The source code of the CGAL library can be found in the directories\
|
|
||||||
"src" (excluding "src/Core") and "include/CGAL". It is specified in each\
|
|
||||||
file of the CGAL library which license applies to it. This is either the\
|
|
||||||
GNU Lesser General Public License (as published by the Free\
|
|
||||||
Software Foundation; version 3 of the License) or the Q Public\
|
|
||||||
License (version 1.0). The texts of both licenses can be found in the\
|
|
||||||
files LICENSE.LGPL and LICENSE.QPL. \
|
|
||||||
\
|
|
||||||
Distributed along with CGAL (for the users' convenience), but not part\
|
|
||||||
of CGAL, are the following third-party libraries, available under their\
|
|
||||||
own licenses:\
|
|
||||||
\
|
|
||||||
- CORE, in the directories "include/CORE" and "src/Core", is licensed\
|
|
||||||
under the QPL (see LICENSE.QPL).\
|
|
||||||
- OpenNL, in the directory "include/OpenNL", is licensed under the\
|
|
||||||
GPL with additional exceptions (see LICENSE.OPENNL).\
|
|
||||||
\
|
|
||||||
All other files that do not have an explicit copyright notice (e.g., all\
|
|
||||||
examples and some demos) are licensed under a very permissive\
|
|
||||||
license. The exact license text can be found in the file\
|
|
||||||
LICENSE.FREE_USE. Note that some subdirectories have their own\
|
|
||||||
copy of LICENSE.FREE_USE. These copies have the same license\
|
|
||||||
text and differ only in the copyright holder.\
|
|
||||||
}
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf330
|
|
||||||
{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fswiss\fcharset77 Helvetica-Bold;\f2\fswiss\fcharset77 Helvetica-Oblique;
|
|
||||||
}
|
|
||||||
{\colortbl;\red255\green255\blue255;}
|
|
||||||
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f0\fs24 \cf0 The installer will first write the CGAL files and then compile the CGAL\
|
|
||||||
library. Consult the CGAL installation script log file MacOSX-install.log\
|
|
||||||
(can be found under the CGAL root directory) for important information\
|
|
||||||
about whether the CGAL setup was successful and about environment\
|
|
||||||
variables that you need to define.\
|
|
||||||
\
|
|
||||||
The CGAL install program will try to find configure several libraries in\
|
|
||||||
your system. In particular these libraries include boost, GMP/MPFR\
|
|
||||||
and Qt.\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f1\b \cf0 \
|
|
||||||
Important note:
|
|
||||||
\f0\b0 boost is actually required by CGAL, which means\
|
|
||||||
that the install program will fail if boost is not found.\
|
|
||||||
\
|
|
||||||
In order for these libraries to be correctly configured with CGAL you\
|
|
||||||
must make sure, before proceeding with the installation program, that\
|
|
||||||
they are installed under the proper path.\
|
|
||||||
|
|
||||||
\f2\i You may need administrator access to setup the libraries under the\
|
|
||||||
proper paths.\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f0\i0 \cf0 *
|
|
||||||
\f1\b boost
|
|
||||||
\f0\b0 : boost include files must be installed under /usr/include or\
|
|
||||||
/usr/local/include\
|
|
||||||
*
|
|
||||||
\f1\b GMP/MPFR
|
|
||||||
\f0\b0 : GMP/MPFR include files must be installed under\
|
|
||||||
/usr/include or /usr/local/include. GMP/MPFR libraries must be\
|
|
||||||
installed under /usr/lib or /usr/local/lib \
|
|
||||||
*
|
|
||||||
\f1\b Qt
|
|
||||||
\f0\b0 : Qt files must be installed under /Developer/qt.\
|
|
||||||
}
|
|
||||||
|
|
@ -1,40 +0,0 @@
|
||||||
{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf330
|
|
||||||
{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fswiss\fcharset77 Helvetica-Bold;\f2\fmodern\fcharset77 Courier;
|
|
||||||
}
|
|
||||||
{\colortbl;\red255\green255\blue255;\red1\green17\blue255;}
|
|
||||||
\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f0\fs24 \cf0 Welcome to the CGAL Installation Program for MacOS X. You will\
|
|
||||||
be guided through the steps necessary to install this software.\
|
|
||||||
\
|
|
||||||
CGAL is a collaborative effort of several sites in Europe and Israel.\
|
|
||||||
The goal is to make the most important of the solutions and methods\
|
|
||||||
developed in computational geometry available to users in industry\
|
|
||||||
and academia in a C++ library. The goal is to provide\
|
|
||||||
\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural
|
|
||||||
|
|
||||||
\f1\b \cf0 easy access to useful, reliable geometric algorithms\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
|
|
||||||
|
|
||||||
\f0\b0 \cf0 \
|
|
||||||
The CGAL library contains:\
|
|
||||||
\
|
|
||||||
* the Kernel with geometric primitives such as points, vectors, lines,\
|
|
||||||
predicates for testing things such as relative positions of points,\
|
|
||||||
and operations such as intersections and distance calculation.\
|
|
||||||
* the Basic Library which is a collection of standard data structures\
|
|
||||||
and geometric algorithms, such as convex hull in 2D/3D,\
|
|
||||||
(Delaunay) triangulation in 2D/3D, planar map, polyhedron,\
|
|
||||||
smallest enclosing circle, and multidimensional query structures.\
|
|
||||||
* the Support Library which offers interfaces to other packages, e.g.,\
|
|
||||||
for visualisation, and I/O, and other support facilities.\
|
|
||||||
\
|
|
||||||
To get an impression of the functionality of CGAL, you can take a\
|
|
||||||
look at the on-line manuals or the demos page at\
|
|
||||||
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\qc\pardirnatural
|
|
||||||
|
|
||||||
\f2 \cf2 www.cgal.org
|
|
||||||
\f0 \cf0 \
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB |
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
CGALVER=3.2.1
|
|
||||||
cd $2/CGAL-$CGALVER
|
|
||||||
QTDIR=/Developer/qt
|
|
||||||
DYLD_LIBRARY_PATH=/Developer/qt/lib
|
|
||||||
export QTDIR DYLD_LIBRARY_PATH
|
|
||||||
if [ -e upgrade.cgal ]; then
|
|
||||||
rm -f upgrade.cgal
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
touch MacOSX-install.log
|
|
||||||
./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-$CGALVER/MacOSX-install.log
|
|
||||||
exit 0
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
CGALVER=3.2.1
|
|
||||||
cd $2/CGAL-$CGALVER
|
|
||||||
QTDIR=/Developer/qt
|
|
||||||
DYLD_LIBRARY_PATH=/Developer/qt/lib
|
|
||||||
export QTDIR DYLD_LIBRARY_PATH
|
|
||||||
touch upgrade.cgal
|
|
||||||
touch MacOSX-install.log
|
|
||||||
./install_cgal -ni --CXX /usr/bin/g++ >> $2/CGAL-$CGALVER/MacOSX-install.log
|
|
||||||
exit 0
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Alpha_shapes_2
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Alpha_shapes_3
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
Auxiliary
|
|
||||||
Cartesian_kernel
|
|
||||||
Configuration
|
|
||||||
Fixed_precision_nt
|
|
||||||
Installation
|
|
||||||
Circulator
|
|
||||||
Core
|
|
||||||
Distance_2
|
|
||||||
Distance_3
|
|
||||||
Generator
|
|
||||||
Geomview
|
|
||||||
Hash_map
|
|
||||||
HalfedgeDS
|
|
||||||
H2
|
|
||||||
H3
|
|
||||||
Interval_arithmetic
|
|
||||||
Intersections_2
|
|
||||||
Intersections_3
|
|
||||||
Kernel_23
|
|
||||||
Kernel_d
|
|
||||||
Modifier
|
|
||||||
Number_types
|
|
||||||
Polynomial
|
|
||||||
Random_numbers
|
|
||||||
Scripts
|
|
||||||
Stream_support
|
|
||||||
STL_Extension
|
|
||||||
Timer
|
|
||||||
Union_find
|
|
||||||
iostream
|
|
||||||
wininst
|
|
||||||
window
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Nef_2
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Qt_widget
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Triangulation_2
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Triangulation_3
|
|
||||||
|
|
@ -1,86 +0,0 @@
|
||||||
This README contains instructions to create compiled binaries for gmp and mpfr for Visual Studio
|
|
||||||
with the names expected by the auto-linking feature of CGAL (as those provided with the
|
|
||||||
Windows Installer)
|
|
||||||
|
|
||||||
STEP 1.
|
|
||||||
|
|
||||||
Download the Brian Gladman's ports for gmp and mpfr for Visual Studio from:
|
|
||||||
|
|
||||||
http://fp.gladman.plus.com/computing/gmp4win.htm
|
|
||||||
|
|
||||||
You would choose a version of gmp and mpfr according to the ports available.
|
|
||||||
|
|
||||||
STEP 2.
|
|
||||||
|
|
||||||
Download the corresponding versions of gmp and mpfr depending on the Gladman's port downloaded
|
|
||||||
|
|
||||||
STEP 3.
|
|
||||||
|
|
||||||
Follow the instructions supplied by Gladman's port and build one of the static versions
|
|
||||||
of the gmp and mpfr libs.
|
|
||||||
|
|
||||||
Typically, in this step you would
|
|
||||||
|
|
||||||
untar the gmp, mpfr and ports archives under a common root folder
|
|
||||||
launch gmp.sln
|
|
||||||
build the preliminary "gen_*" targets
|
|
||||||
build one of the static library targets, such as "gmp_lib_gc"
|
|
||||||
launch mpfr.sln
|
|
||||||
renamed "mparam_h.in" to "mparam.h"
|
|
||||||
build the target lib_mpfr.
|
|
||||||
|
|
||||||
The details may vary depending on the actual port you are using. Just make sure to follow
|
|
||||||
the port instructions and build ONE static version of gmp and mpfr. You can choose
|
|
||||||
the generic version (_gc) or one of the optimized (_pN) version but make sure to build only one.
|
|
||||||
|
|
||||||
You would end up with a structure similar to the following:
|
|
||||||
|
|
||||||
<base directory>
|
|
||||||
gmp-4.2.4
|
|
||||||
build.vc9
|
|
||||||
lib_gmp_gc
|
|
||||||
Win32
|
|
||||||
Debug
|
|
||||||
gmp.lib
|
|
||||||
gmp.pdb
|
|
||||||
Release
|
|
||||||
gmp.lib
|
|
||||||
gmp.pdb
|
|
||||||
mpfr-2.3.2
|
|
||||||
build.vc9
|
|
||||||
lib_mpfr
|
|
||||||
Win32
|
|
||||||
Debug
|
|
||||||
mpfr.lib
|
|
||||||
mpfr.pdb
|
|
||||||
Release
|
|
||||||
mpfr.lib
|
|
||||||
mpfr.pdb
|
|
||||||
|
|
||||||
|
|
||||||
STEP 4
|
|
||||||
|
|
||||||
copy the batch script "create_mangled_versions.bat" into the base directory
|
|
||||||
containing gmp and mpfr.
|
|
||||||
|
|
||||||
Run it passing the directory containing gmp and mpfr. For example:
|
|
||||||
|
|
||||||
C:\>create_mangled_versions gmp-4.2.4
|
|
||||||
C:\>create_mangled_versions mpfr-2.3.2
|
|
||||||
|
|
||||||
This script scans the given directory in search for gmp and mpfr binaries.
|
|
||||||
Each time one is found, it creates a copy of it using a "mangled" named that
|
|
||||||
conforms to the autolinking requirements. It constructs the mangled name based
|
|
||||||
on the relative downpath to the library found. For example, if it finds
|
|
||||||
|
|
||||||
build.vc9\lib_gmp_gc\Win32\Debug\gmp.lib
|
|
||||||
|
|
||||||
it creates a copy, in the same directory, named:
|
|
||||||
|
|
||||||
gmp_vc90_mt_gd.lib
|
|
||||||
|
|
||||||
All mangled binaries are also copied to a folder named "mangled_binaries" that
|
|
||||||
the script creates in the directory where it is run.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,113 +0,0 @@
|
||||||
@echo OFF
|
|
||||||
|
|
||||||
set ROOT=%~dp0
|
|
||||||
|
|
||||||
if "%1"=="" goto :ERROR
|
|
||||||
|
|
||||||
set BASEDIR=%1%
|
|
||||||
|
|
||||||
cd %BASEDIR%
|
|
||||||
|
|
||||||
if EXIST gmp.h (
|
|
||||||
set GMP_OR_MPFR=gmp
|
|
||||||
) else (
|
|
||||||
if EXIST mpfr.h set GMP_OR_MPFR=mpfr
|
|
||||||
)
|
|
||||||
|
|
||||||
if NOT DEFINED GMP_OR_MPFR goto :ERROR
|
|
||||||
|
|
||||||
if NOT EXIST mangled_binaries mkdir mangled_binaries
|
|
||||||
|
|
||||||
if EXIST build.vc8 call :PROCESS_BUILD_FOLDER vc8
|
|
||||||
if EXIST build.vc9 call :PROCESS_BUILD_FOLDER vc9
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
:PROCESS_BUILD_FOLDER
|
|
||||||
: %1 <- vc(8|9)
|
|
||||||
|
|
||||||
cd build.%1
|
|
||||||
|
|
||||||
for /D %%i in (lib_%GMP_OR_MPFR%*) do (
|
|
||||||
|
|
||||||
call :PROCESS_LIB_FOLDER %%i %1
|
|
||||||
)
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
:PROCESS_LIB_FOLDER
|
|
||||||
: %1 <- lib_gmp|mpfr_* folder name
|
|
||||||
: %2 <- vc(8|9)
|
|
||||||
|
|
||||||
cd %1
|
|
||||||
if EXIST Win32 call :PROCESS_PALTFORM_FOLDER Win32 %2
|
|
||||||
if EXIST x64 call :PROCESS_PALTFORM_FOLDER x64 %2
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
:PROCESS_PALTFORM_FOLDER
|
|
||||||
: %1 <- (Win32|x64)
|
|
||||||
: %2 <- vc(8|9)
|
|
||||||
|
|
||||||
cd %1
|
|
||||||
if EXIST Debug call :PROCESS_VARIANT_FOLDER Debug %2 -gd
|
|
||||||
if EXIST Release call :PROCESS_VARIANT_FOLDER Release %2
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
:PROCESS_VARIANT_FOLDER
|
|
||||||
: %1 <- (Debug|Release)
|
|
||||||
: %2 <- vc(8|9)
|
|
||||||
: %3 <- (-gd|)
|
|
||||||
|
|
||||||
cd %1
|
|
||||||
if EXIST %GMP_OR_MPFR%.lib call :COPY_MANGLED %2 lib %3
|
|
||||||
if EXIST %GMP_OR_MPFR%.pdb call :COPY_MANGLED %2 pdb %3
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
|
|
||||||
:COPY_MANGLED
|
|
||||||
: %1 <- vc(8|9)
|
|
||||||
: %2 <- lib|pdb
|
|
||||||
: %3 <- (-gd|)
|
|
||||||
|
|
||||||
set TOOLSET=%1%
|
|
||||||
set EXT=%2%
|
|
||||||
set VARIANT=%3%
|
|
||||||
|
|
||||||
set MANGLED=%GMP_OR_MPFR%-%TOOLSET%-mt%VARIANT%.%EXT%
|
|
||||||
|
|
||||||
echo Copying %GMP_OR_MPFR%.%EXT% as %MANGLED% in %cd% and %ROOT%\mangled_binaries
|
|
||||||
|
|
||||||
copy /Y %GMP_OR_MPFR%.%EXT% %MANGLED%
|
|
||||||
|
|
||||||
copy /-Y %MANGLED% %ROOT%\mangled_binaries
|
|
||||||
|
|
||||||
goto :EOF
|
|
||||||
|
|
||||||
:ERROR
|
|
||||||
|
|
||||||
echo Usage:
|
|
||||||
echo.
|
|
||||||
echo create_mangled_versions folder_with_gmp_or_mpfr
|
|
||||||
echo.
|
|
||||||
echo This batch script scans the given directory searching for gmp or mpfr libs
|
|
||||||
echo copying each such lib with a special mangled name based on
|
|
||||||
echo the subdirectory path where the .lib was found.
|
|
||||||
echo.
|
|
||||||
echo For example, if it finds the file
|
|
||||||
echo.
|
|
||||||
echo gmp_4.2.4/build.vc9/lib_gmp_gc/Win32/Debug/gmp.lib
|
|
||||||
echo.
|
|
||||||
echo it creates a copy of it named
|
|
||||||
echo.
|
|
||||||
echo gmp_vc90_mt_gd.lib
|
|
||||||
echo.
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue