Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Pedro
CMake
Commits
4d9634c3
Commit
4d9634c3
authored
18 years ago
by
Andy Cedilnik
Browse files
Options
Downloads
Patches
Plain Diff
ENH: Simplify the generic instructions
parent
23200f8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Templates/CPack.GenericDescription.txt
+3
-68
3 additions, 68 deletions
Templates/CPack.GenericDescription.txt
Templates/CPack.GenericLicense.txt
+1
-11
1 addition, 11 deletions
Templates/CPack.GenericLicense.txt
Templates/CPack.GenericWelcome.txt
+1
-2
1 addition, 2 deletions
Templates/CPack.GenericWelcome.txt
with
5 additions
and
81 deletions
Templates/CPack.GenericDescription.txt
+
3
−
68
View file @
4d9634c3
COMPILING INSTRUC
TION
S
===========
===========
DESCRIP
TION
===========
This project uses the CMake (http://www.cmake.org) cross-platform build system.
To compile this project, you will have to make sure you have CMake installed.
Binary and source distributions of CMake can be found at
http://www.cmake.org/HTML/Download.html. If it exists for your platform, we
highly recommend using a binary distribution.
This is an installer created using CPack (http://www.cmake.org). No additional installation instructions provided.
Once CMake is installed, you are ready to build this project. We highly
recommend reading the documentation on
http://www.cmake.org/HTML/Documentation.html if you are not familiar with this
process.
Here is a summary of the build:
* Run one of the CMake user interfaces.
* Change configuration options.
* Compile (make on UNIX, Visual Studio on Windows).
UNIX/Linux
----------
The following instructions only apply to Unix/Linux systems.
The following example shows how to use this technique to build this project on
multiple architectures. Assume we have a Solaris machine and an IRIX machine
with a shared disk with the source tarball in the home directory.
On either machine, extract the source tarball:
tar xvzf paraview-2.0.0.tar.gz
On the Solaris machine, run
mkdir paraview-2.0.0-solaris<br>
cd paraview-2.0.0-solaris<br>
ccmake ../paraview-2.0.0<br>
make && make install
Then on the IRIX machine, run
mkdir paraview-2.0.0-irix<br>
cd paraview-2.0.0-irix<br>
ccmake ../paraview-2.0.0<br>
make && make install
It is a very good idea to tell CMake what C and C++ compilers you will be
using. This can prevent many build problems. On most systems you can pass this
information to CMake in the following way:
env CXX=/your/C++/compiler CC=/your/c/compiler ccmake .
otherwise you must set CXX and CC in your environment and then run ccmake (or
cmake -i).
Windows
-------
The Windows build process uses the CMake GUI CMakeSetup.
Execute CMakeSetup. This will pop-up a GUI that allows you to tailor the build.
You'll have to tell CMakeSetup where you've placed your source code, and where
to build the object code and dll's. The build directory is typically placed
next to the source directory.
When CMakeSetup completes you can build the project. If you are using Visual
Studio, start up Visual Studio and load the project file. Then select the
ALL_BUILD project, and build it. If you are using NMake Makefiles, Borland
Makefiles, Mingw, MSYS, or Cygwin, then use the appropriate make command.
This diff is collapsed.
Click to expand it.
Templates/CPack.GenericLicense.txt
+
1
−
11
View file @
4d9634c3
LICENSE
=======
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This is an installer created using CPack (http://www.cmake.org). No license provided.
For more information, please contact the vendor of this package.
This diff is collapsed.
Click to expand it.
Templates/CPack.GenericWelcome.txt
+
1
−
2
View file @
4d9634c3
Welcome to installation. This program will guide you through the installation
of this software.
Welcome to installation. This program will guide you through the installation of this software.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment