commit | 6c3a94c01f84eccacb0a6e060e698cfa20b79ff9 | [log] [tgz] |
---|---|---|
author | Sebastian Bøe <sebastian.boe@nordicsemi.no> | Tue Apr 17 14:37:24 2018 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Fri Apr 27 12:06:02 2018 +0200 |
tree | c1aa671aab18aac4d0867a61abb16117d58177c4 | |
parent | 6f1cff733e90fce3554b6aac66cc4f83b60da3d8 [diff] |
cmake: Add function for checking if a directory is write-able Added a CMake extention for determining if a directory is write-able by the build system. To determine this, we attempt to 'touch' a file in the directory and check the return code of this command. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>