Document whitlisted properteis for add_library(targ INTERFACE)
How is user to know what the whitelisted properties are:
add_library( mex_interface INTERFACE ) set_target_properties( mex_interface PROPERTIES SUFFIX ".mex64" LINK_FLAGS /export:mex_function )
add_library( targ SHARED main.cpp )
target_link_libraries( targ mex_interface )
yeilds:
CMake Error at CMakeLists.txt:45 (set_target_properties): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "SUFFIX" is not allowed.
CMake Error at CMakeLists.txt:45 (set_target_properties): INTERFACE_LIBRARY targets may only have whitelisted properties. The property "LINK_FLAGS" is not allowed.
Edited by Brian J. Davis