Skip to content

Commit

Permalink
Merge pull request #2543 from med-ayssar/add_compiler_version
Browse files Browse the repository at this point in the history
Add compiler version to nest-config
  • Loading branch information
heplesser committed Dec 1, 2022
2 parents 34d567c + 7fa69cd commit 89f48bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/nest-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Known values for OPTION are:
--cflags print pre-processor and compiler flags
--includes print includes
--compiler print the compiler used to compile NEST
--compiler-name Print the compiler name used to compile NEST
--compiler-version Print the compiler version used to compile NEST
--python-executable print full path to Python interpreter used
--python-version print Python version string for interpreter
--static-libraries print "ON" if configured for static libraries, "OFF" otherwise
Expand Down Expand Up @@ -71,6 +73,12 @@ while test $# -gt 0; do
--compiler)
echo "@CMAKE_CXX_COMPILER@"
;;
--compiler-name)
echo "@CMAKE_CXX_COMPILER_ID@"
;;
--compiler-version)
echo "@CMAKE_CXX_COMPILER_VERSION@"
;;
--python-executable)
echo "@Python_EXECUTABLE@"
;;
Expand Down

0 comments on commit 89f48bc

Please sign in to comment.