Ask Your Question
3

In CMake, if set_target_properties is called multiple times, does it replace the previous value of the target property?

asked 2022-02-26 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-04-02 14:00:00 +0000

nofretete gravatar image

No, calling settargetproperties multiple times does not replace the previous value of the target property. Instead, it will add or modify the target properties as specified in each call. If the same property is set in multiple calls, the last call will take precedence.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-02-26 11:00:00 +0000

Seen: 8 times

Last updated: Apr 02 '23