1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#-------------------------------------------------------------
You MUST use cmake and nmake to build on a Windows machine.
Work in a DOS window.
You may also have success using the cmake and VC gui interfaces.
#-------------------------------------------------------------
# setup the compiler
#-------------------------------------------------------------
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
#-------------------------------------------------------------
# building CLHEP
#-------------------------------------------------------------
Work from a separate build directory.
cmake -DCMAKE_INSTALL_PREFIX=C:\....
-G "NMake Makefiles"
-DCMAKE_BUILD_TYPE=RelWithDebInfo
C:\full\path\to\CLHEP
nmake
nmake test
nmake install
#-------------------------------------------------------------
# trouble reports
#-------------------------------------------------------------
Please report problems using the bug-tracker of the savannah portal at:
http://savannah.cern.ch/projects/clhep
|