File: ReadMe.win

package info (click to toggle)
clhep 2.1.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, stretch
  • size: 10,004 kB
  • sloc: cpp: 50,094; sh: 6,694; makefile: 2,691; perl: 28
file content (38 lines) | stat: -rw-r--r-- 1,046 bytes parent folder | download | duplicates (4)
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