this repo has no description
1project(tools)
2
3if (COMPONENT_cli)
4 set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli")
5
6 add_darling_executable(sw_vers sw_vers.c)
7 add_darling_executable(sudo sudo.c)
8 add_darling_executable(codesign codesign.c)
9 add_darling_executable(dsmemberutil dsmemberutil.c)
10 add_darling_executable(softwareupdate softwareupdate.c)
11 add_darling_executable(spctl spctl.c)
12
13 install(TARGETS sw_vers sudo codesign dsmemberutil DESTINATION libexec/darling/usr/bin)
14 install(TARGETS softwareupdate spctl DESTINATION libexec/darling/usr/sbin)
15
16 target_link_libraries(sw_vers CoreFoundation)
17endif()
18
19if (COMPONENT_gui)
20 set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "gui")
21
22 add_darling_executable(open open.m)
23 target_link_libraries(open CoreServices Foundation AppKit)
24 install(TARGETS open DESTINATION libexec/darling/usr/bin)
25endif()