Updated docs
[supercollider.git] / editors / scvim / CMakeLists.txt
blobf3d828eb7ac57e18d8c95715ae6ae3e5cd3aab6c
1 install(FILES bin/sclangpipe_app bin/scvim
2                 DESTINATION bin
3                 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
5 install(DIRECTORY ftplugin
6                 DESTINATION share/vim/addons)
8 install(DIRECTORY indent
9                 DESTINATION share/vim/addons)
11 install(DIRECTORY syntax
12                 DESTINATION share/vim/addons)
14 configure_file(registry/supercollider-vim.yaml.in registry/supercollider-vim.yaml)
15 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/registry/supercollider-vim.yaml
16                 DESTINATION share/vim/registry)
18 IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
19         install(FILES scclasses/SCVim.sc
20                         DESTINATION /Library/Application\ Support/SuperCollider/Extensions/scvim
21                         PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
22 ELSE()
23         install(FILES scclasses/SCVim.sc
24          DESTINATION share/SuperCollider/Extensions/scvim
25          PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
26 ENDIF()
28 install(FILES scvimrc SCVim.scd
29                 DESTINATION share/scvim)