1 2 3 4 5 6 7 8 9
enable_language(C) add_executable(exe main.c) install(TARGETS exe RUNTIME_DEPENDENCIES PRE_EXCLUDE_REGEXES ".*" FRAMEWORK DESTINATION fw )