5 лет назад
История
README.md
gneis-geant4
An GNEIS facility modeling library based on Geant4 toolkit.
Requirements
- GCC 4.9.2 or higher
- CMake 3.1 or higher
- Geant4 10.4 or higher
- Google Test 1.7 or higher
Content
gneis-geant4
- library itself.basic
- a very basic executable that invokes library.examples
- macro files with GNEIS-related examples.
Prerequisites
- Geant4 installed and configured
Building
-
Go to your working directory, for example
~/workspace
(all directory names are arbitrary). -
Create
gneis-geant4
subdirectory within the working directory. -
Download content of
gneis-geant4
repository into~/workspace/gneis-geant4
. -
Create
gneis-geant4-build
subdirectory within the working directory. -
Enter
~/workspace/gneis-geant4-build
directory. -
Run
cmake
:
cmake ~/workspace/gneis-geant4
6.1. If you need to install the library into your profile-specific directory rather than system directory, then set CMAKE_INSTALL_PREFIX
system property for cmake
as follows:
cmake -DCMAKE_INSTALL_PREFIX=~ ~/workspace/gneis-geant4
- Build and install library and executables:
make && make install
- Run example
cd ~/workspace/gneis-geant4
gg-basic examples/basic.mac
Конвейеры
0 успешных
0 с ошибкой