CMake set_property command with generator expressions using multiple values
问题 I am using CMake v3.13.4 with the Visual Studio 2017 Win64 generator and I need to modify the command line options for the Visual Studio Librarian (for a CMake object library). To achieve that CMake offers the target property STATIC_LIBRARY_OPTIONS that can be set by the set_property and set_target_properties command. The documentation states that STATIC_LIBRARY_OPTIONS supports generator expressions: Contents of STATIC_LIBRARY_OPTIONS may use “generator expressions” with the syntax $<...> .