Re: [CMake] import objects to CMake

2019-07-23 Thread Craig Scott
On Tue, Jul 23, 2019 at 10:27 PM hex wrote: > hello community, > > Following an example on the usage of IMPORTED_OBJECTS from the book > "Professional CMake" > I'm happy to accept corrections and suggestions for the book at the following link (it's a more appropriate channel than here on this lis

[CMake] import objects to CMake

2019-07-23 Thread hex
hello community, Following an example on the usage of IMPORTED_OBJECTS from the book "Professional CMake" I receive the following error: /Error evaluating generator expression:// // //    $// // //  Expression did not evaluate to a known generator expression/ I wonder if there is a mistake

[CMake] Excluding targets from install set

2019-07-23 Thread Gordon Koefner
Hi all! We have been migrating our buildsystem to CMake and are trying to use the `install` command to deploy different parts of the software. However `make install` also installs artifacts from our dependencies, internal as well as 3rd party, that are unnecessary/unwanted. Is there a native way

Re: [CMake] GHS - specify cpu option to CMake generator?

2019-07-23 Thread Geoffroy J
In fact, while looking at a "project" file, i found the following: #!gbuild primaryTarget=arm_standalone.tgt #component top_level_project [Project] * -bsp generic* -object_dir=objs *-cpu=cortexa7* And when specifying the GHS_BSP_NAME, GHS generator ends-up adding the -bsp line into the genera