[CMake] Finding Zlib on Windows

2008-09-11 Thread Leo Breebaart
I am having a heck of a time correctly detecting Zlib (and other libraries) properly on Windows. Being a newcomer to both CMake and the wonderful world of Windows .dll and .lib files I fully expect that I am getting things wrong left and right, and I am hoping people here are willing to help a

[CMake] MIDL preprocessor problem

2008-09-11 Thread Markus Israelsson
Hello, I have a slight problem with adding .idl files to a project generated through CMake. It seems as if the automatic preprocessor definition generated by CMake causes a problem for the preprocessor part of MIDL (used for compiling .idl-files). For debug build the preprocessor definition that

[CMake] Can someone provide a FindOpenMp.cmake?

2008-09-11 Thread kdsfinger
hi, there I am trying to use the OpenMp library with cmake, but can't find the FindOpenMp.cmake anywhere. I tried to make myself but failed. Can someone share me the FindOpenMp.cmake file? Thanks a lot. zl2k ___ CMake mailing list CMake@cmake.org

[CMake] CVS write access for module maintainers

2008-09-11 Thread Matt Leotta
Hi, I'm a new module maintainer and I've just join this list as well. I've filled out the web form to get a developer account, and Mantis now lists me as a developer. How do I check out the modules from CVS for read/write access? I haven't been able to fine the appropriate cvs command on the

Re: [CMake] CVS write access for module maintainers

2008-09-11 Thread Bill Hoffman
Matt Leotta wrote: Hi, I'm a new module maintainer and I've just join this list as well. I've filled out the web form to get a developer account, and Mantis now lists me as a developer. How do I check out the modules from CVS for read/write access? I haven't been able to fine the appropriate

[CMake] CTest/test target customisation

2008-09-11 Thread Mike Arthur
I'm having some frustrations with trying to customise CTest's support in CMake. Our testing system does not involve using CDash/Dart but our own continuous integration system so as a result I want make test to run our tests and generate coverage information. Maybe I'm just being stupid but it

Re: [CMake] Override of link flag for one specific shared library

2008-09-11 Thread David Cole
ADD_SUBDIRECTORY is the right thing to be using. SUBDIRS is deprecated, but they process things subtly differently, so I just wanted to rule out that you might be encountering a SUBDIRS side effect... You've ruled it out. Could you re-organize such that libraries with different flags are in

Re: [CMake] Fwd: CPack DEB generator: Installed-Size field

2008-09-11 Thread David Cole
Is there an issue on this in the bug tracker?If not, could you open one and attach the patch there? Thx, Dave On Mon, Sep 8, 2008 at 4:42 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: Patch works for me on debian stable. Please consider. Credit goes to 0xd34df00d. Thanks -Mathieu

Re: [CMake] Fwd: CPack DEB generator: Installed-Size field

2008-09-11 Thread Mathieu Malaterre
This is the proper patch for #6203. It is attached to the bug tracker. thx On Thu, Sep 11, 2008 at 8:45 PM, David Cole [EMAIL PROTECTED] wrote: Is there an issue on this in the bug tracker? If not, could you open one and attach the patch there? Thx, Dave On Mon, Sep 8, 2008 at 4:42 AM,

[CMake] How to add a test and compare its output to a reference file ?

2008-09-11 Thread Judicaƫl Bedouet
Hi, I 'm converting a project to CMake. Tests in this project print messages to cout and these output traces are compared to reference files. If output and its reference are different, the corresponding test is considered as failed. I can't see how to make these tests work with CMake. I try to

[CMake] /machine not set for static libraries in 64 bit VS

2008-09-11 Thread James Bigler
Has anyone else noticed that CMake doesn't set the /machine:x64 flag for static libraries when building 64 bit binaries? It sets it for shared libraries. Somehow, VS seems to compile the attached test program, but when I tried this on a larger project it assumed that the library was 32 bit