[CMake] CPack install dirs pr component

2013-11-18 Thread Lars Lars
How can I specify different install dir prefix for two components using CPack and Wix generator? The current setup installs runtime files to C:\Program Files\MyCompany\bin and data to C:\Program Files\MyCompany\data. We would like to place the data files in for instance c:\data. The setup has

[CMake] Xml modification

2013-11-18 Thread Lars Lars
Does cmake support xml modification? We would like to update a number of xml configuration files with for instance version information. This information is only available at build time. -- Powered by www.kitware.com Please keep messages on-topic and

Re: [CMake] Xml modification

2013-11-18 Thread Lars Lars
Date: Mon, 18 Nov 2013 10:27:26 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] Xml modification On 11/18/2013 09:58 AM, Lars Lars wrote: Does cmake support xml modification? We would like

Re: [CMake] CPack install dirs pr component

2013-11-18 Thread Lars Lars
Date: Mon, 18 Nov 2013 10:21:57 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] CPack install dirs pr component On 11/18/2013 09:48 AM, Lars Lars wrote: How can I specify different install dir

[CMake] Qt4 QT_INSTALL_LIBS

2013-11-14 Thread Lars Lars
Hello, Using CMake 2.8.10 on Windows 7. We have a working project that finds QT liket this: FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui) Now we would like to update Qt library, so changed it to: FIND_PACKAGE(Qt4 4.8.4 COMPONENTS QtCore QtGui) This however fails because FindQt4.cmake

Re: [CMake] CPack, Wix using util:XmlFile

2013-11-11 Thread Lars Lars
Date: Sun, 10 Nov 2013 21:20:47 +0100 From: nilsglad...@gmail.com To: laasu...@hotmail.com; cmake@cmake.org Subject: Re: [CMake] CPack, Wix using util:XmlFile On 10.11.2013 17:46, Lars Lars wrote: Just a follow up question

[CMake] CPack, Wix using util:XmlFile

2013-11-08 Thread Lars Lars
Hello, Using CMake 2.8.11 and Wix 3.7 on Windows 7. Using CPack to generate a msi using a custom wix template. I would like to add an util:XmlFile element to the template but this require candle and light to be executed with the option -ext WixUtilExtension. Does anyone know of a way to

[CMake] find_package

2013-09-05 Thread Lars Lars
Using Latest version of CMake on Windows 7 and Redhat 6 Running the below code on both platforms produce slightly different content in QT_LIBRARIES. FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui) IF (QT4_FOUND) MESSAGE(STATUS QT_LIBRARIES: ${QT_LIBRARIES} ENDIF() On Windows I get;

[CMake] cpack component

2013-09-02 Thread Lars Lars
Hello, We are using CPack (WIX generator) to create an installer. This works fine but with one slight problem that the installer contains a component that I did not expect. The main CMakeList.txt file includes; SET(CPACK_COMPONENTS_ALL RUNTIME) In a sub CMakeList.txt file I have the following

[CMake] find_package and install

2013-08-29 Thread Lars Lars
Hello, I have the following configuration; FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore) IF (Qt4_FOUND) INCLUDE(${QT_USE_FILE}) MESSAGE(STATUS QT_LIBRARIES:${QT_LIBRARIES}) ENDIF() # setup header and source files ADD_EXECUTABLE(TBD ${_SOURCES} ${_HEADERS})

[CMake] Support for custom wix template

2013-08-26 Thread Lars Lars
Hello, I would like to know if the feature CPackWIX: Add support for custom WiX templates [commit: bf23891942d95a4075f349f6c4043647d47e546b] will be included in version 2.8.12? I cannot find it listed in http://public.kitware.com/Bug/roadmap_page.php?version_id=112 but downloading a

Re: [CMake] Support for custom wix template

2013-08-26 Thread Lars Lars
Date: Mon, 26 Aug 2013 13:29:22 +0200 Subject: Re: [CMake] Support for custom wix template From: eric.noul...@gmail.com To: laasu...@hotmail.com CC: cmake@cmake.org 2013/8/26 Lars Lars laasu...@hotmail.com: Hello, I would like to know if the feature CPackWIX: Add support for custom

[CMake] find_package components required or not

2013-08-15 Thread Lars Lars
Hello, The find_package macro provides the keywords REQUIRED and COMPONENTS. The docs state: The REQUIRED option stops processing with an error message if the package cannot be found. A package-specific list of components may be listed after the REQUIRED option or after the COMPONENTS