Re: [CMake] Building Qt app

2008-12-26 Thread kafou nmento
Thank you Clint. I fixed it another way. In the qatomic_windows.h file from src\corelib\arch, I enclosed the paragraphs     extern C { long __cdecl _InterlockedIncrement(volatile long *); long __cdecl _InterlockedDecrement(volatile long *); long __cdecl _InterlockedExchange(volatile long *, long);

Re: [CMake] Symlink problem under linux for runtime search path generation

2008-12-26 Thread Nicolas Desprès
Hi Brad, Sorry for the delayed answer. It was Christmas break :-) I've tried your patch and it works :-) Thank you very much. I think the next step is to open an issue in the bug tracker (I could do it). Or maybe you can directly commit the patch if you have access. Thanks again, -- Nico On

Re: [CMake] Custom NSIS script

2008-12-26 Thread Nicolas Desprès
On Thu, Dec 25, 2008 at 9:45 PM, Yevgen Muntyan ymunt...@gmail.com wrote: Hello and Merry Christmas, Hello! Merry Christmas to you too, I've got a question: how to use my custom NSIS script with CMake+CPack? You could copy the original NSIS.template.in from cmake sources in your

Re: [CMake] How to set Windows DLL version information

2008-12-26 Thread David Cole
Add an *.rc file with the correct VS_VERSIONINFO resource in it as a source file for your dll... set(source_files blah1.cpp blah2.cpp mydll.rc ) add_library(mydll SHARED ${source_files}) On Fri, Dec 26, 2008 at 1:50 AM, sherman wilcox wilcox.sher...@gmail.comwrote: Hi, I am trying to

Re: [CMake] Symlink problem under linux for runtime search path generation

2008-12-26 Thread Brad King
Nicolas Desprès wrote: Hi Brad, Sorry for the delayed answer. It was Christmas break :-) I've tried your patch and it works :-) Thank you very much. I think the next step is to open an issue in the bug tracker (I could do it). Or maybe you can directly commit the patch if you have access.

Re: [CMake] Custom NSIS script

2008-12-26 Thread Yevgen Muntyan
On Fri, Dec 26, 2008 at 4:08 AM, Nicolas Desprès nicolas.desp...@gmail.com wrote: On Thu, Dec 25, 2008 at 9:45 PM, Yevgen Muntyan ymunt...@gmail.com wrote: I've got a question: how to use my custom NSIS script with CMake+CPack? You could copy the original NSIS.template.in from cmake sources

[CMake] EXTERNAL_OBJECT

2008-12-26 Thread Yevgen Muntyan
Hello, How to make cmake rebuild a program when give file changes, if there isn't a corresponding C or C++ file? I am trying to compile a windows resource file in, it works, but I just can't make it rebuild the executable when the resource file changes. I have the following code:

[CMake] Can CMake produce an Autotools-like build environment that doesn't require CMake?

2008-12-26 Thread Naram Qashat
The subject pretty much sums up the question. I'd like to know if it's possible, though. I was trying to get CMake adopted to be used for a project I'm working on, but the response has been mixed. The biggest detractor has been that CMake is required at all times to build, while the old build

Re: [CMake] Can CMake produce an Autotools-like build environment that doesn't require CMake?

2008-12-26 Thread Philip Lowman
On Fri, Dec 26, 2008 at 10:25 PM, Naram Qashat cyberb...@cyberbotx.comwrote: The subject pretty much sums up the question. I'd like to know if it's possible, though. I was trying to get CMake adopted to be used for a project I'm working on, but the response has been mixed. The biggest