Message: Re: CMake vs Make Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: CMake vs Make 

Forum: Installation and Configuration
Re: None CMake vs Make (Matt McIntyre)
Re: Note Re: CMake vs Make (Ben Morgan)
Re: More Re: CMake vs Make (Matt McIntyre)
Date: 18 Jun, 2013
From: Tom Roberts <Tom Roberts>

What I do is:
 1. use Cmake to create the Geant4 Makefile, configured for static libraries
    only, and CMAKE_INSTALL_PREFIX set to my program's build tree
 2. use 'make' to build the Geant4 static libraries
 3. use 'make install' to install the libraries and headers into my program's
    build tree (directories include and lib, plus stuff I don't use)
Then I build my program with a Makefile that just manually sets -I to the include
directory and links with lib/*.a (which includes the Geant4 static libraries).
Modern linkers don't care about library order.

 Add Message Add Message
to: "Re: CMake vs Make"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]