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

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/submit_local.sh DESTINATION bin
        PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
            GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
Y
Yu Yang 已提交
8
        RENAME paddle)
Z
zhouyingfeng 已提交
9

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

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