File: INSTALL

package info (click to toggle)
clhep 2.1.4.1+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 10,004 kB
  • sloc: cpp: 50,094; sh: 6,694; makefile: 2,691; perl: 28
file content (30 lines) | stat: -rwxr-xr-x 1,301 bytes parent folder | download | duplicates (3)
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
#-------------------------------------------------------------
#  building CLHEP
#-------------------------------------------------------------

You may build CLHEP as a complete package, starting from this 
top level directory, or you may build any package separately.

Cmake is now the preferred build option.
Building with autotools and configure is deprecated.
Although it may be possible to build with autotools, 
we strongly recommend building with cmake. 
You MUST use cmake when building with clang and other exotic compilers.

Please see either INSTALL.cmake or INSTALL.autotools for directions.

#-------------------------------------------------------------
# about linking
#-------------------------------------------------------------

CLHEP builds libraries for each package in addition to a single CLHEP library.
This alllows you to link with only the necessary parts of CLHEP.
We provide a set of <package>-config scripts which gives the list of 
libraries to link, in the correct order.  
The script can be embedded in a makefile.

   clhep-config --libs       -  link list of ALL CLHEP libraries
   <package>-config --libs   -  link list of ONLY those libraries 
                                needed to use <package>

#-------------------------------------------------------------