Re: [cmake-developers] CMake instances sharing some modifiable resources

2015-06-18 Thread Brad King
On 06/17/2015 04:56 PM, Robert Goulet wrote: I saw the file(LOCK) command That should be what you need. All the file_append.cmake scripts need to agree on a file path to lock (like output.txt.lock). -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

Re: [cmake-developers] CMake instances sharing some modifiable resources

2015-06-18 Thread Robert Goulet
] CMake instances sharing some modifiable resources On 06/17/2015 04:56 PM, Robert Goulet wrote: I saw the file(LOCK) command That should be what you need. All the file_append.cmake scripts need to agree on a file path to lock (like output.txt.lock). -Brad -- Powered by www.kitware.com Please

[cmake-developers] CMake instances sharing some modifiable resources

2015-06-17 Thread Robert Goulet
Hi all, I'm trying to write a custom command that will run a CMake script to add some content in a file. Problem is, if I'm building with multiple process enabled in Visual Studio project, and the custom command is added to a few different CMakeLists.txt files, I get synchronizations issues.