True it works; I was wrongly setting the file lock on the file I was trying to 
write into. Thanks!

-----Original Message-----
From: Brad King [mailto:brad.k...@kitware.com] 
Sent: Thursday, June 18, 2015 9:28 AM
To: Robert Goulet
Cc: cmake-developers@cmake.org
Subject: Re: [cmake-developers] 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 keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to