dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
42 stars 18 forks source link

[enhancement]better setup_command file #224

Open miroi opened 6 years ago

miroi commented 6 years ago

The setup_command is important file generated in the build directory, because it helps to preserve the exat setup command for repeating builds.

What is missing are proper apostrophes preserved in the command.

For example, in DIRAC we have

./setup --mpi --fc=mpif90 --cc=mpicc --cxx=mpiCC --int64 --extra-fc-flags=-xHost --extra-cc-flags=-xHost --extra-cxx-flags=-xHost build_openmpi_intelmkl_i8_xh"

instead of

./setup --mpi --fc=mpif90 --cc=mpicc --cxx=mpiCC --int64 --extra-fc-flags="-xHost" --extra-cc-flags="-xHost" --extra-cxx-flags="-xHost" build_openmpi_intelmkl_i8_xh"

Comments ?

bast commented 6 years ago

It would be nice but I don't know how to do it. See also https://github.com/coderefinery/autocmake/issues/169.