-
Notifications
You must be signed in to change notification settings - Fork 2
/
ReadMe.win
39 lines (25 loc) · 1.05 KB
/
ReadMe.win
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 HepMC
#-------------------------------------------------------------
Work from a separate build directory.
cmake -DCMAKE_INSTALL_PREFIX=C:\....
-G "NMake Makefiles"
-Dmomentum:STRING=[MEV|GEV] \
-Dlength:STRING=[MM|CM] \
C:\full\path\to\HepMC
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