Skip to content

sethrj/mcgeometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===== To build =====

Download cmake and install it from
http://www.cmake.org/cmake/resources/software.html

Create a build directory outside of the source directory (e.g., ../_buildmcg)
and cd to it (cd ../_buildmcg)

    mkdir ../_buildmcg
    cd ../_buildmcg

Run cmake in the build directory; pass in the path to the mcgeometry source
directory. Configure it once to see the build options (if using ccmake or
cmake-gui), and change them as desired.

	cmake ../mcgeometry-source

Compile using the makefile it generated. (Depending on what you told CMake, it
might have created an XCode or Eclipse project instead of using make's build
system. In most cases on a UNIXy system, make is the default.)

    make check
    

===== Targets =====

make lib:
    create the mcgeometry and transupport libraries

make check:
    build unit tests and runs them with CTest

make examples:
    build the examples

make doc:
	build doxygen documentation (experimental)

make install:
    install headers and libraries to the prefix directory

About

Automatically exported from code.google.com/p/mcgeometry

Resources

Stars

Watchers

Forks

Packages

No packages published