<div dir="ltr">It seems hard to find documentation for this variable. Is it set by enable_language(<LANG>)? Can I call enable_language(<LANG>) BEFORE I call project()?<div><br></div><div>Does anyone know a good way to provide default, compiler specific values for CMAKE_<LANG>_FLAGS in the cache? It seems that calling set() with the CACHE option won't do anything if the variable is already set, and that perhaps CMAKE_<LANG>_FLAGS and CMAKE_<LANG>_COMPILER_ID are both set by project() and/or enable_language().</div>
<div><br></div><div>Do I need to define my own variable with a default value after CMAKE_<LANG>_COMPILER_ID is created (so that the default value is specific to the compiler) and then concatenate/append CMAKE_<LANG>_FLAGS with its value?</div>
<div><br></div><div>Any and all help much appreciated, <br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>Princeton University Doctoral Candidate<br>Mechanical and Aerospace Engineering<br>
<a href="mailto:ibeekman@princeton.edu" target="_blank">ibeekman@princeton.edu</a><br><br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br>
<a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
</div></div>