Re: [CMake] Feature request: date command

2011-02-02 Thread Droscy
Hi Daniel, you can use something like the macro in the attached file, adapting it to fit your needs. It is not the same as a cmake -E date command, but it is useful. Bye Droscy # - Get the current date from the system # This file defines the macro TODAY that can be used to # retrive

Re: [CMake] [VS] How to set static run-time for static lib release config?

2010-08-15 Thread Droscy
Hi Ryan, I've started using your MSVCStaticRuntime.cmake and everything worked well until I tested it with NMake Makefiles generator, that doesn't use CMAKE_CONFIGURATION_TYPES, so I edited your file to add the content of CMAKE_BUILD_TYPE to the SUFFIXES of list_combinations in order to make the

Re: [CMake] CPack DEB: default to standard Debian package file names

2010-07-21 Thread Droscy
, if found. Bye Droscy ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow

Re: [CMake] CMake 2.8.1 / Win: Neither if nor else?`

2010-05-22 Thread Droscy
get no output if zlib is not found, and two outputs if zlib is found. The right construct is IF(ZLIB_FOUND) MESSAGE( WARNING HAVE system zlib ) ELSE(ZLIB_FOUND) MESSAGE( WARNING NO system zlib ) ENDIF(ZLIB_FOUND) Bye Droscy ___ Powered

Re: [CMake] Help: How to show Qt src file in out-source folder build mode for Eclipse CDT project

2010-05-09 Thread Droscy
- move (or copy) the two files .project and .cproject (created by CMake) from /project/build to /project/src. - open Eclipse and import the project in /project/src folder. Eclipse will correctly import the project and build it in /project/build folder. Bye Droscy

Re: [CMake] Correct syntax for CPACK_NSIS_CREATE_ICONS

2010-04-13 Thread Droscy
') and it works correctly. I hope this can help you, bye Droscy ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] project (name NONE) still search for a valid compiler

2010-03-30 Thread Droscy
Hi Thomas Benoit Thomas ha scritto: Is there any other way to diasble cmake for looking for a valid compiler ? I'm not sure, but if you use INCLUDE(CMakeForceCompiler) CMAKE_FORCE_C_COMPILER( GNU) CMAKE_FORCE_CXX_COMPILER( GNU) probably CMake doesn't look for another compiler. Bye Droscy

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread Droscy
AKHRES Nader ha scritto: is it possible to uncompress a zip file with cmake? One solution could be writing the Find7Zip.cmake file in order to get the executable and use it to uncompress the downloaded file... I know that this solution is not very easy, but it is a solution :-)

Re: [CMake] Need testers for symbian support

2010-02-17 Thread Droscy
and Toolchain-symbian-gcc.cmake must be put? - have I to patch the cvs tree or the version 2.8.0 from website? Thanks, bye Droscy ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] CPackDeb generator patch

2010-02-15 Thread Droscy
and the one found on my system, instead it should contain only my entry. Bye Droscy Thawan Kooburat ha scritto: Any comments is welcomed and I hope that all of these features get included into the future release of CPack ___ Powered by www.kitware.com

Re: [CMake] CPackDeb generator patch

2010-02-15 Thread Droscy
CPACK_DEBIAN_USE_SHLIBDEPS to be set to TRUE or FALSE in order to use or don't use dpkg-shlibdeps. HS Bye Droscy ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

[CMake] Wrong Installed-Size field in Debian CPack generator

2010-02-15 Thread Droscy
for the source tree of CMake version 2.8.0 download from the website. Bye Droscy --- old/Source/CPack/cmCPackDebGenerator.cxx 2009-11-13 19:32:58.0 +0100 +++ new/Source/CPack/cmCPackDebGenerator.cxx 2010-02-15 13:25:36.587444759 +0100 @@ -121,7 +121,7 @@ totalSize += cmSystemTools