Re: [CMake] [CMAKE] Checking if a file exist at the installing process

2017-10-19 Thread Daniel Yoshizawa
today. Once again, thanks for the answer. Daniel Yoshizawa. 2017-10-18 20:36 GMT-02:00 paul : > You can use install(CODE) or install(SCRIPT) to run custom cmake code at > install time. The only caveat is the install location is actually > `$ENV{DESTDIR}${CMAKE_INSTALL_PR

[CMake] [CMAKE] Checking if a file exist at the installing process

2017-10-18 Thread Daniel Yoshizawa
WNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE ) endif() endfunction (install_file path_to_file path_to_destination) ------