AMPE icon indicating copy to clipboard operation
AMPE copied to clipboard

Missing CMake script for installing in debug mode

Open stvdwtt opened this issue 5 years ago • 1 comments

There are configuration scripts for installing on Condos with the GNU compiler in both optimized and debug mode. However, the only CMake script for Condos has the path for the optimized settings hard-coded.

@jeanlucf22 Should there be a second CMake script for installing in debug mode, or should it try to auto-detect whether you're in optimized or debug mode? I'd be happy to take care of this as a first contribution.

stvdwtt avatar Dec 18 '19 18:12 stvdwtt

The preferred option is to use cmake to build the main code, and autoconf for the base libraries. It may actually be the only one working. So autodonf scripts are really used only for the base libraries.

(cmake) build scripts are meant to be examples of how to build the code. They just happen to be the ones I often use. Debug vs optimize: this is the user's choice and should be in their own script. But it doesn't mean that additional scripts could not be added.

jeanlucf22 avatar Dec 18 '19 18:12 jeanlucf22