Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-18 Thread Deniz Bahadir
Am 17.07.2017 um 18:41 schrieb Deniz Bahadir: Am 17.07.2017 um 17:15 schrieb Nils Gladitz: On 17.07.2017 17:13, Deniz Bahadir wrote: Am 17.07.2017 um 16:47 schrieb Nils Gladitz: On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Deniz Bahadir
Am 17.07.2017 um 17:15 schrieb Nils Gladitz: On 17.07.2017 17:13, Deniz Bahadir wrote: Am 17.07.2017 um 16:47 schrieb Nils Gladitz: On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional build-step after creation of the object-files and

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Nils Gladitz
On 17.07.2017 17:13, Deniz Bahadir wrote: Am 17.07.2017 um 16:47 schrieb Nils Gladitz: On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional build-step after creation of the object-files and before linking the shared library. (In

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Deniz Bahadir
Am 17.07.2017 um 16:47 schrieb Nils Gladitz: On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional build-step after creation of the object-files and before linking the shared library. (In particular, I want to compress the debug-symbols in

Re: [CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Nils Gladitz
On 7/17/2017 3:52 PM, Deniz Bahadir wrote: This works just fine. However, now I want to add an additional build-step after creation of the object-files and before linking the shared library. (In particular, I want to compress the debug-symbols in the object-files. But that should be

[CMake] How to get list of generated object-files of OBJECT-library?

2017-07-17 Thread Deniz Bahadir
Hi list, I have a question regarding "add_custom_command" and OBJECT-libraries: My CMakeLists.txt contains the following (simplified) targets: ``` set ( SOURCE_FILES # ... several C++-source files ) add_library( OBJECT ${PROJECT_NAME}_OBJECTS ${SOURCE_FILES} ) add_library(