Goodmorning.
I’m using file(GENERATE …) to test the espansion of generator expressions
I get a list of libraries in MyTargetLibraries with
get_target_property(MyTargetLibraries mytarget LINK_LIBRARIES)
Then I loop on library list with a foreach, and the list is full as I expected.
But when I run
file(GENERATE OUTPUT C:/temp/debug_generator.txt CONTENT MyTargetLibraries)
the file debug_generator.txt is not created in C:/Temp
My question is: file(GENERATE …) works with Visual Studio 16 2019 generator?
Best regards,
MZ