Re: [CMake] ATL support

2009-06-17 Thread Daniel Tavares
Hi Elizabeta, Just adding the generated *.h and *_i.c to add_library worked for me. -- Daniel From: elizabeta petreska [mailto:elizabeta.petre...@gmail.com] Sent: Thursday, June 11, 2009 11:52 PM To: Daniel Tavares Cc: CMake ML Subject: Re: [CMake] ATL support Hi Daniel I tried

Re: [CMake] Overwritting read-only files when installing

2009-06-17 Thread Daniel Tavares
> I don't understand the problem. > When I try to install somewhere, where I'm not allowed to write the install > fails: > CMake Error: Error in cmake code at > /home/alex/src/tests/envvarininstall/cmake_install.cmake:35: > FILE cannot create directory: /usr/usr/local/share/foo. Maybe need > admi

Re: [CMake] ATL support

2009-06-11 Thread Daniel Tavares
I'm having similar issues. Although I tried removing the \" or the entire CMAKE_INTDIR=\"Debug\", mentioned on this post, but it didn't make any difference. This is what I get when I try to build a project that uses ATL 1>Creating

[CMake] Overwritting read-only files when installing

2009-06-05 Thread Daniel Tavares
Hello fellow CMakers, Is there any way to make the install step fail if the destination file that is being overwritten is read-only? I need to copy the built target from the off-source folder to a folder under source control. And one of my options is to have the developer build the INSTALL

Re: [CMake] Copy target from different configurations

2009-05-29 Thread Daniel Tavares
est of the team. Thanks for helping. Daniel Tavares Programmer | Slipgate Ironworks http://www.slipg8.com -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Jacob Repp Sent: Friday, May 29, 2009 11:24 AM To: cmake@cmake.org Subject: Re: [CMa

[CMake] Copy target from different configurations

2009-05-28 Thread Daniel Tavares
/cmake@cmake.org/msg18026.html> discussed a similar, if not identical issue. But didn't seem to have an elegant solution. Thanks, Daniel Tavares Programmer | Slipgate Ironworks http://www.slipg8.com ___ Powered by www.kit

[CMake] Exclude file from build on a given target

2009-05-26 Thread Daniel Tavares
Is it possible to exclude a file from build for a specific build target? As far as I could read on the documentation and discussion threads, setting HEADER_FILE_ONLY to TRUE changes the file property for all targets. I'm converting a Visual Studio 2005 project to CMake and this project excludes