Re: [CMake] Can I build targets during all but NOT during install?

2018-08-25 Thread Paul Smith
On Mon, 2018-01-01 at 18:12 -0500, Paul Smith wrote: > What I hoped is for the default build with no targets specified to > build everything ("all"), but if I invoke the build with the > "install" target it builds only the things that are to be installed, > not my test programs. > > Unfortunately

Re: [CMake] Build flags not applied during compiler testing on Ubuntu

2018-08-25 Thread Richard Shaw
On Thu, Aug 23, 2018 at 11:58 AM Brad King wrote: > On 08/22/2018 04:23 PM, Richard Shaw wrote: > > Meanwhile you can use just > > set(CMAKE_EXECUTABLE_SUFFIX ".elf") > Ok, interestingly that had no effect, but if I moved the set(CMAKE_EXECUTABLE_SUFFIX_) to the main CMakeFiles.txt file below