CMakeLists.txt 515 字节
Newer Older
Z
zhangjinchao01 已提交
1
configure_file(submit_local.sh.in
2
    paddle
Z
zhangjinchao01 已提交
3 4
    @ONLY)

5
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/paddle DESTINATION bin
Z
zhangjinchao01 已提交
6
        PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
7
            GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
Z
zhouyingfeng 已提交
8

9
configure_file(tools/usage_stat/usage.sh
10
    paddle_usage
Z
zhouyingfeng 已提交
11 12
    @ONLY)

13
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/paddle_usage DESTINATION opt/paddle/bin
Z
zhouyingfeng 已提交
14
        PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
15
            GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)