Re: [CMake] [cmake-developers] CLang error when building iOS bundle

2016-05-13 Thread NoRulez
I don't know why I get this error, but after I link against missing required frameworks (OpenGLES, AssetsLibrary and QuartzCore) the error is gone. Regards Roman > Am 11.05.2016 um 22:48 schrieb Gregor Jasny via CMake : > > Hello, > >> On 11/05/16 21:22, Roman Wüger wrote: >> I got the followi

[CMake] CheckIncludeFiles doesn't find header files

2015-02-19 Thread NoRulez
Hello, I hope someone could help me please. I've the following situation that when I run CMake from the command line, all is working as expected and CheckIncludeFiles find the header files. However, when I run the configure and build steps from within a CTestScript the CheckIncludeFiles doesn'

Re: [CMake] CMP0026 - Disallow use of the LOCATION target property

2015-02-07 Thread NoRulez
Hi, We had that problem too. Look at the great example from Stephen to my question. His example was great and helped us a lot. Best Regards > Am 06.02.2015 um 19:18 schrieb Stephen Kelly : > > Jifeng ZHANG wrote: > >> Hi, >> >> I have a question of policy CMP0026. Our project currently is o

Re: [CMake] Workaround for CMP0026

2015-02-05 Thread NoRulez
idn't so, I get several warnings/errors when generating with Visual Studio generator. Is this really the right way? Best Regards > Am 04.02.2015 um 20:24 schrieb Stephen Kelly : > > NoRulez wrote: > >> Hello, >> >> currently I'm updating my CMake sc

[CMake] Workaround for CMP0026

2015-02-04 Thread NoRulez
Hello, currently I'm updating my CMake scripts to use newer features and/or to solve some old workarounds. I have the following code: get_target_property(${PROJECT_NAME}OutputDirectory ${PROJECT_NAME} LOCATION_RELEASE) get_filename_component(${PROJECT_NAME}OutputDirectory ${${PROJECT_NAM

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-02-04 Thread NoRulez
gt; >> On Mon, Feb 2, 2015 at 9:54 AM, NoRulez wrote: >> Hi, >> >> I think I found the problem: >> In the file cmLocalGenerator.cxx the pointer is always true since 3.1.0, >> which was a const char* in 3.0.2. and now it could point to an empty const >

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-02-02 Thread NoRulez
): if(!default_config || (default_config && strlen(default_config) == 0)) Best Regards > Am 23.01.2015 um 09:15 schrieb NoRulez : > > Hi, > > i've tested it also with 3.1.1 and the failure behaves the same. > > Best Regards > > >> Am 21.01.2015 u

Re: [CMake] CMake 3.0.2 check_include_files can't find include files in Mac OS X

2015-02-01 Thread NoRulez
Hi, I've already set CMAKE_OSX_SYSROOT to /Developer/SDKs/MacOSX10.7.sdk And CMAKE_OSX_DEPLOYMENT_TARGET to 10.7 Thanks in advance Best regards > Am 02.02.2015 um 06:58 schrieb Braden McDaniel : > >> On Sun, 2015-02-01 at 22:56 +0100, NoRulez wrote: >> I've

[CMake] CMake 3.0.2 check_include_files can't find include files in Mac OS X

2015-02-01 Thread NoRulez
Hello, I've my SDK under /Developer/SDKs/MacOSX10.7.sdk. I've tried to set several CMake and environment variables, but check_include_files doesn't find anything. (e.g. sys/types.h, sys/stat.h, memory.h, ...) What did I need to define, so that check_include_files find my include files? The di

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-01-23 Thread NoRulez
Hi, i've tested it also with 3.1.1 and the failure behaves the same. Best Regards > Am 21.01.2015 um 10:00 schrieb NoRulez : > > Hi, > > it should also not work when you build a test project in release mode and > then in the build directory type "cpack -G ZIP&q

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-01-21 Thread NoRulez
#x27;t seen this issue but if you have a self-contained and reduced > (preferably plain CMake ) test case, I would be happy to run it and > verify if this is a regression. > >> On Tue, Jan 20, 2015 at 2:37 AM, NoRulez wrote: >> No one? >> >> Has something chang

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-01-19 Thread NoRulez
No one? Has something changed between 3.0.2 to 3.1.0 which prevents cpack to copy the generated *.exe file to the _CPack_Packages directory? Or did i need an additional variable to be set in 3.1.0? Thanks in advance Best Regards > Am 16.01.2015 um 12:09 schrieb NoRulez : > > If

Re: [CMake] CPack in CMake 3.1.0 doesn't install files

2015-01-16 Thread NoRulez
If I switch back to 3.0.2 everything is working like a charm Best Regards > Am 15.01.2015 um 17:49 schrieb NoRulez : > > Hello, > > we have only upgraded to the last release 3.1.0 from 3.0.2 and get the > following when cpack is executed in a CTestScript: > > error: f

[CMake] CPack in CMake 3.1.0 doesn't install files

2015-01-15 Thread NoRulez
Hello, we have only upgraded to the last release 3.1.0 from 3.0.2 and get the following when cpack is executed in a CTestScript: error: fixup_bundle: not a valid bundle The files are ceated, but they are not copied to the _CPack_Packages folder Then I found out that the variable "CMAKE_INSTALL

Re: [CMake] Problems with CMake 3.1.0-rc3 write_compiler_detection_header

2014-12-15 Thread NoRulez
Not supported in general or only in the rc/final 3.1.0? Because it would be very helpful for Features which are supported for e.g. in VS2010 to VS2014 and more. Best Regards > Am 15.12.2014 um 18:49 schrieb Brad King : > >> On 12/15/2014 08:40 AM, NoRulez wrote: >> I see

Re: [CMake] Problems with CMake 3.1.0-rc3 write_compiler_detection_header

2014-12-15 Thread NoRulez
I see that only GNU and Clang is currently supported ("set(compilers GNU Clang);") Is that right and would MSVC be added to the final 3.1.0 version? Thanks in advance Best Regards > Am 15.12.2014 um 12:34 schrieb NoRulez : > > Hello, > > I tried write_compiler_d

[CMake] Problems with CMake 3.1.0-rc3 write_compiler_detection_header

2014-12-15 Thread NoRulez
Hello, I tried write_compiler_detection_header as in the example provided with VS2013 but i only get the following message: "Unsupported compiler MSVC" Any suggestions? Best Regards -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/

Re: [CMake] Green Hills Generator #0014992

2014-12-09 Thread NoRulez
No one? The patch is already working. > Am 12.11.2014 um 09:45 schrieb NoRulez : > > Hi, > > is it possible to get the patch for the green hills generator into CMake 3.1 > > Thanks in advance > > Best Regards > > -- > > Powered by www.kitware.com

[CMake] Green Hills Generator #0014992

2014-11-12 Thread NoRulez
Hi, is it possible to get the patch for the green hills generator into CMake 3.1 Thanks in advance Best Regards -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

Re: [CMake] [Cdash] Show results from the bullseye coverage in CDash

2014-09-18 Thread NoRulez
When i start "ctest -V -V -S CTestScript.cmake" manually on the command line, I see the following messages: Performing coverage RegularExpression::compile(): ?+* follows nothing. RegularExpression::compile(): Error in compile. Best regards > Am 17.09.2014 um 13:07 schrieb Rolf Eike Beer : > >

Re: [CMake] Code Coverage & Bullseye

2014-09-17 Thread NoRulez
Hello, since code coverage doesn't work very well with gcov and so on on Mac, our company decided to use bullseye for Mac OS too. I hope it helps Am 17.09.2014 um 14:22 schrieb David Cole via CMake : >> I am trying to configure the code coverage using the ctest script. I >> took help from : ht

Re: [CMake] [Cdash] Show results from the bullseye coverage in CDash

2014-09-17 Thread NoRulez
Sorry for the long response time but we are currently in a release stage. No, the submit seems fine, but the value in the Coverage.xml looks like 0.00 0.00 Which can't be. However, the *-covbr.* and *-covsrc.* are generated with valid values. Currently CMake 3.0.1 and CDash 2.2.2 are used Bes

Re: [CMake] [Cdash] Show results from the bullseye coverage in CDash

2014-09-05 Thread NoRulez
We do not use a license manager. The following files are created in the Testing/Temporary folder: [DATE]-[TIME]-covbr.stderr [DATE]-[TIME]-covbr.stdout [DATE]-[TIME]-covsrc.stderr [DATE]-[TIME]-covsrc.stdout LastCoverage_[DATE]-[TIME].log Which shows the symbols which are normally shown in CDash

Re: [CMake] [Cdash] Show results from the bullseye coverage in CDash

2014-09-04 Thread NoRulez
Ok then what could be the problem? It also shows 0% coverage sometimes. With bullshtml on the other hand the output seems to be ok. Best Regards Am 15.07.2014 um 12:11 schrieb David Cole : >>> There is an option (which should be on by default) in the >>> "Miscellaneous" section of the project

Re: [CMake] [Cdash] Show results from the bullseye coverage in CDash

2014-07-15 Thread NoRulez
Thanks, this solves the problem. The option wasn't checked. Best Regards > Am 15.07.2014 um 08:32 schrieb Julien Jomier : > > There is an option (which should be on by default) in the "Miscellaneous" > section of the project settings, which is called: "Show coverage code". Can > you make sure

[CMake] Show results from the bullseye coverage in CDash

2014-07-14 Thread NoRulez
Hello, I use bullseye coverage to perform coverage analysis on windows. We have 2 dashboard (CDash) machines (productive, testing) On the testing machine I could click on a file in CDash to display the coverage analyze for the selected file. On the productive machine I doesn't have those links.

Re: [CMake] ExternalProject_Add show sources in Visual Studio

2014-03-20 Thread NoRulez
d/install in there, then go back to your containing project, and it's > already up to date. > > To each his own... Good luck. > > > HTH, > David C. > > > > -Original Message- > From: NoRulez > To: David Cole > Cc: cmake > Sent: Wed, Mar 19, 2

Re: [CMake] ExternalProject_Add show sources in Visual Studio

2014-03-19 Thread NoRulez
Ok, so the only "workaround" to archive this is to use "file(GLOB_RECURS...)" and rebuild the changed external project. Right? Best Regards > Am 19.03.2014 um 12:44 schrieb David Cole : > > Well, that sounds like the perfect way to use ExternalProject. > > But why do you want to show the sourc

[CMake] CPack and PackageMaker hide pages

2014-03-19 Thread NoRulez
Is it possible to hide some of the pages used in PackageMaker? For example if I don't want to show the license dialog. Best Regards -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to s

Re: [CMake] ExternalProject_Add show sources in Visual Studio

2014-03-19 Thread NoRulez
Because the external projects depends on different library versions than the "SuperProject". Maybe I misconfigured something, but i don't know an alternative. E.g.: super project (AA) builds with version 9 of library X. The external project B requires version 5 of library X and had some source

Re: [CMake] ExternalProject_Add show sources in Visual Studio

2014-03-17 Thread NoRulez
I've added the source files with "file(GLOB_RECURSE..." and set source file property for each of these files with HEADER_FILE_OLY to TRUE. It seems to work, but I'm not sure if this is the right way. > Am 17.03.2014 um 08:49 schrieb NoRulez : > > Hello, > >

[CMake] ExternalProject_Add show sources in Visual Studio

2014-03-17 Thread NoRulez
Hello, if I add an external project with ExternalProject_Add, is it possible to show the sources of that project in Visual Studio too? I don't know if this is the reason, but currently the projects type is set to utility. Best Regards -- Powered by www.kitware.com Please keep messages on-to

Re: [CMake] CMake and Framework/CFBundle Support

2014-03-06 Thread NoRulez
If i want to make some contributions for this, what is the best way? Is the contribution site from CMake up to date, because I also found repositories on github and gitorious too, but i don't know if these are official repositories. Thanks in advance > Am 11.02.2014 um 16:01 schrieb : > > >

[CMake] PackageMaker with script for InstallationCheck

2014-03-05 Thread NoRulez
Hello list, I found variables to launch custom preflight/postflight scripts with CPACK_PREFLIGHT_SCRIPT and CPACK_POSTFLIGHT_SCRIPT. Is there also a way to call a custom install check script? For example, I need to know if a specified application is already installed or not. If the application

Re: [CMake] Mac bundled application with multiple executables.

2014-02-11 Thread NoRulez
You can use add_custom_command as POST_BUILD step and TargetGenerators for the main GUI bundle to do what you want. Best Regards > Am 09.02.2014 um 23:56 schrieb Andreas Pakulat : > > Hi Bill, > >> On Sun, Feb 9, 2014 at 8:45 PM, Bill Somerville wrote: >> Hi, >> >> noob here so firstly thank

[CMake] CMake and Framework/CFBundle Support

2014-02-10 Thread NoRulez
Hello, I don't know if I overlook something or the framework/CFBundle support on Mac OS is rarely. Most of the things I have already implemented as post-build commands but are there also CMake ways of doing such things? .) Adding resources to CFBundles? (Resources for frameworks are supported)

[CMake] Libraries as bundles on Mac OS

2014-01-23 Thread NoRulez
Hello, I know how to create bundles for applications, but how can I create bundles for libraries. For example when I want to create a plugin for an adobe product (Illustrator => plugin.aip)? The add_library command does not except MACOSX_BUNDLE, only MODULE, SHARED and STATIC are allowed. The

Re: [CMake] Problems with renamed CMake Generators

2014-01-23 Thread NoRulez
I know I can use CMAKE_CL_64 to detect 32/64 bit and MSVC12 if the Visual Studio 2013 generator is used. But what about other compilers/IDEs? > Am 23.01.2014 um 08:19 schrieb NoRulez : > > Hello, > > at the moment I test with if("${CMAKE_GENERATOR}" STREQUAL "

[CMake] Problems with renamed CMake Generators

2014-01-22 Thread NoRulez
Hello, at the moment I test with if("${CMAKE_GENERATOR}" STREQUAL "Visual Studio 12") in the upcoming release of CMake this string has changed. So, is there an other way to test for generators and if a generator is called for 32/64bit? Thanks in advance Best Regardsn -- Powered by www.kitware

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
No, it's not as simple as it looks like, because the project name and repository name itself starts with MP* So, to rename a directory or two it's ok, but not if we must change the complete infrastructure. ;-) Is there no way to execute some commands after the creation is finished? E.g. Some p

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
Sure, but in the meanwhile I need a workaround too. > Am 07.01.2014 um 18:20 schrieb Bill Hoffman : > >> On 1/7/2014 11:12 AM, NoRulez wrote: >> Hello, >> >> is there a simple way to replace the slashes (directory delimiter) with >> backslashes for include

[CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
Hello, is there a simple way to replace the slashes (directory delimiter) with backslashes for include paths after or during the generation of *.vcxproj files? The problem which is described here exists in VS2012 and VS2013: http://connect.microsoft.com/VisualStudio/feedback/details/778367/vc-2

Re: [CMake] CMake doesn't list 64-bit generator

2013-11-28 Thread NoRulez
Previous versions of CMake should list those platforms too. Would this intentionally be removed in the newer versions? Best Regards > Am 29.11.2013 um 03:10 schrieb William Woodbury : > >> On 28/11/2013 21:37, NoRulez wrote: >> Hi, >> >> I've installed VS 20

[CMake] CMake doesn't list 64-bit generator

2013-11-28 Thread NoRulez
Hi, I've installed VS 2010 professional with x64 tools on a fresh installed windows 7 ultimate 64-bit system and I also want to use CMake 2.8.12. After the installation stuff, when I run CMake on the command line, then no 64 bit generator are listed. I tried this in the normal command prompt,

Re: [CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-23 Thread NoRulez
Ok, I think it is working now. The nightly build shows coverage informations. I extend the IF statement: if (WITH_COVERAGE AND (CTEST_COVERAGE_COMMAND OR COV01)) Best Regards > Am 21.11.2013 um 22:19 schrieb Bill Hoffman : > >> On 11/21/2013 3:16 PM, NoRulez wrote: >&

Re: [CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-21 Thread NoRulez
running with the message: "BullseyeCoverage Compile C++ 8.8.6 Windows License" But I doesn't have the output in the coverage category under CDash. With gcov I get the expected result. Best Regards > Am 21.11.2013 um 18:19 schrieb Bill Hoffman : > >> On 11/21/2

[CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-21 Thread NoRulez
Hi, i want to try Bullseye on Windows and have CMake 2.8.12 installed. Bullseye get called, creates the CMake.cov file in the binary folder but doesn't produce output in CDash. I then read that this does only work when CVS CMake is used. What is the difference between these CMake versions. Tha

Re: [CMake] Experimental builds not always shown in CDash

2013-11-21 Thread NoRulez
cha Hergarden : > > > >> On 11/20/2013 06:08 PM, NoRulez wrote: >> When I run "ctest -V -S CTestScript.cmake" then everything is done >> successfully, except that I doesn't see the build under CDash. >> >>>> Am 20.11.2013 um 17:30 schri

Re: [CMake] Experimental builds not always shown in CDash

2013-11-20 Thread NoRulez
When I run "ctest -V -S CTestScript.cmake" then everything is done successfully, except that I doesn't see the build under CDash. > Am 20.11.2013 um 17:30 schrieb Nils Gladitz : > >> On 20.11.2013 17:23, NoRulez wrote: >> Now the problem is, that sometimes th

[CMake] Experimental builds not always shown in CDash

2013-11-20 Thread NoRulez
Hello, in my CTestScript I have the following: set(MODEL "Experimental") ctest_start(${MODEL} TRACK ${MODEL}) . . . The script is called from a scheduler every 30 minutes: ctest -S CTestScript.cmake Now the problem is, that sometimes the experimental entry are shown in CDash, but not every tim

[CMake] Weird problems after updating to 2.8.12

2013-10-29 Thread norulez
Hello, I updated cmake from 2.8.10-2 to 2.8.12. Since the update I get the following error on Mac OS (10.6.8) when I run the command 'cmake -G "Unix Makefiles" ../source': "add_subdirectory not given a binary directory but the given source directory is not a subdirectory of... When specifying a

[CMake] Weird problems after updating to 2.8.12

2013-10-29 Thread NoRulez
Hello, I updated cmake from 2.8.10-2 to 2.8.12. Since the update I get the following error on Mac OS (10.6.8) when I run the command 'cmake -G "Unix Makefiles" ../source': "add_subdirectory not given a binary directory but the given source directory is not a subdirectory of... When specifying a

Re: [CMake] ctest_update with git fetch --tags (was: ctest & git submodules)

2013-02-28 Thread NoRulez
hen updated. In the projects CMakeLists.txt file we get the current tag/version with "git describe --tags" Maybe there would be alternatives but currently this is working fine. But we are open for suggestions. Best Regards Am 28.02.2013 um 17:38 schrieb Brad King : > On 02/28/2013

[CMake] ctest & git submodules

2013-02-28 Thread NoRulez
Hello Brad,I've attached the two log files, can you take a look on it?Thanks in advanceBest Regards Am 28.02.2013 um 16:41 schrieb Brad King <brad.k...@kitware.com>: > On 02/28/2013 10:34 AM, NoRulez wrote: >> Yes, it is the command which I want. >> >> On the com

Re: [CMake] ctest & git submodules

2013-02-28 Thread NoRulez
Yes, it is the command which I want. On the command line the same command works in the source tree. The command only fails during the CTest run if I set the option. Am 28.02.2013 um 13:07 schrieb Brad King : > On 02/28/2013 02:38 AM, NoRulez wrote: >> But if I set the optio

Re: [CMake] ctest & git submodules

2013-02-27 Thread NoRulez
schrieb Brad King : > On 02/27/2013 12:36 AM, NoRulez wrote: >> I think for the --tags option it is the same, isn't it? >> >> How can I set such option for the checkout/update command? > > The --tags option belongs to "git fetch" and extra flags can >

Re: [CMake] ctest & git submodules

2013-02-26 Thread NoRulez
I think for the --tags option it is the same, isn't it? How can I set such option for the checkout/update command? Best Regards Am 26.02.2013 um 22:50 schrieb Brad King : > On 2/26/2013 2:52 PM, Jean-Christophe Fillion-Robin wrote: >> +1 to add these into CTest :) What would be the argument aga

Re: [CMake] ctest & git submodules

2013-02-26 Thread NoRulez
ve WORKING_DIRECTORY ${CTEST_SOURCE_DIRECTORY}) endif () Best Regards Am 26.02.2013 um 20:16 schrieb NoRulez : > Hi, > > I don't think so, you could check for a .git directory and then call > > git submodule update --init --recursive > > Best Regards > > Am 26.02.2013 um 18:34 sc

Re: [CMake] ctest & git submodules

2013-02-26 Thread NoRulez
Hi, I don't think so, you could check for a .git directory and then call git submodule update --init --recursive Best Regards Am 26.02.2013 um 18:34 schrieb Clinton Stimpson : > > Is there anything special I need to do with ctest so that the ctest_update() > will recognize git submodules and

Re: [CMake] How to set CTest Update Options correctly

2013-02-25 Thread NoRulez
Hello again, CTEST_UPDATE_COMMAND is set to ${GIT_EXECUTABLE}. I also tried to extend the CTEST_CHECKOUT_COMMAND variable, but here I get also an error. Please, could someone help? Thanks in advance Am 25.02.2013 um 18:15 schrieb NoRulez : > Hello, > i've set CTEST_UPDATE

[CMake] How to set CTest Update Options correctly

2013-02-25 Thread NoRulez
Hello, i've set CTEST_UPDATE_OPTIONS as followed: set(CTEST_UPDATE_OPTIONS "--tags") I set this, because I need newely created and/or modified tags. When I set this option then I get the error: "git.cmd" "fetch" "--tags" Update command failed Is there an other way of doing so? Thanks in advan

Re: [CMake] Running CPack and ignore exit codes

2013-02-06 Thread NoRulez
Thank you I will try it. In the future I/we will handle it better and do not ignore errors. ;-) Best Regards Am 06.02.2013 um 20:57 schrieb Eric Noulard : > 2013/2/6 NoRulez : >> You're right. Normally I do not ignore errors, but in some situations if >> unit tests

Re: [CMake] Running CPack and ignore exit codes

2013-02-06 Thread NoRulez
th some alternate > advice. ;-) > > You can override what CPack calls for "make install" -- you can tell it to > run something else that won't do a "make all" first. But it would probably be > easier to just fix the errors. > > > D > >

Re: [CMake] Running CPack and ignore exit codes

2013-02-06 Thread NoRulez
call "make install" -- and make install first does a make all to > get everything up to date. > > So even calling just cpack by itself in this situation is no good. > > > > -Original Message- > From: Eric Noulard > To: NoRulez > Cc: CMake

Re: [CMake] Running CPack and ignore exit codes

2013-02-06 Thread NoRulez
arget has errors. Currently it is not possible to run cpack and create packages for such situation. Best Regards Am 06.02.2013 um 16:10 schrieb Eric Noulard : > 2013/2/6 NoRulez : >> Sorry, i forgot to say that I'm using CMake 2.8.7? >> >> Is there a chance to do so?

Re: [CMake] Running CPack and ignore exit codes

2013-02-06 Thread NoRulez
Sorry, i forgot to say that I'm using CMake 2.8.7? Is there a chance to do so? Thanks in advance Am 05.02.2013 um 14:17 schrieb NoRulez : > Hi, > > when i run cpack, then it breaks after the first error. > > Is there a way (For NMake for example) to run "nmake /I&quo

[CMake] Release date for CMake 2.8.11?

2013-02-05 Thread NoRulez
Hi, does anybody know the new release date for CMake 2.8.11? In Mantis the date was scheduled for 2013-01-30. Thanks in advance -- 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 t

[CMake] Running CPack and ignore exit codes

2013-02-05 Thread NoRulez
Hi, when i run cpack, then it breaks after the first error. Is there a way (For NMake for example) to run "nmake /I" to ignore exit codes and build as much as possible? Thanks in advance -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensour

Re: [CMake] CMake 2.8.10 available for download

2012-11-03 Thread norulez
Hello David, I had also a question for the new release. How can I create a valid VS2012 solution under windows 8? I need to call "cmake -G "Visual Studio 11" ..\source" twice to get a solution file. The first time I get messages which tells that there is an unknown CXX compiler and: -- Looking

[CMake] Different library versions for sub projects?

2012-09-19 Thread norulez
Hello, is it possible to use different libraries for sub projects? For example if a sub project needs dynamic linked boost 1.48 library and a other sub project needs static linked boost 1.51 library. The same could be for Qt projects too. Thanks in advance Best Regards -- Powered by www.kitwar

[CMake] CMake can't find the correct Qt installation paths

2012-09-07 Thread NoRulez
Hello,when I install Qt to the location C:\Qt\QtSDK and then I run cmake, everything is working fine.But if I rename the directory to C:\Qt\QtSDL then cmake have problems to find Qt because qmake.exe isn't patched.In qmake.exe the path to the libraries are set to "C:\Qt\QtSDK\..." which is also use

Re: [CMake] CMake creates incompatible VS 2012 (VS 11) solution

2012-08-04 Thread NoRulez
Hello Bill,i think the problem is solved. CMake generates valid VS 2012 / VS 11 solution files.The problem is that VS 2012 Express doesn't support desktop applications, only metro style apps.I've tested the same solution file with VS 2012 Ultimate (http://www.microsoft.com/visualstudio/11/de-de/dow

Re: [CMake] CMake creates incompatible VS 2012 (VS 11) solution

2012-08-03 Thread norulez
I read other posts and i think it has to do with that, that i would like to double click on the *.sln file to open it. I don't know if this should already be fixed in 2.8.8 Best Regards Am 03.08.2012 um 22:47 schrieb Klaim - Joël Lamotte : > I'm using CMake 2.8.8 to generate VS2012 RC projects

[CMake] CMake creates incompatible VS 2012 (VS 11) solution

2012-08-03 Thread NoRulez
Hello, I tried to create a visual studio 2012 solution under Windows 8 Release Preview. This solution contains for demo purpose only a main.cpp file I tried the 32 bit variant and the cmake -G "Visual Studio 11" ..\source 64 bit variant: cmake -G "Visual Studio 11 Win64" ..\source After I load

Re: [CMake] Strange behavior with Nightly builds

2012-07-27 Thread norulez
ine below. > > On Jun 22, 2012, at 2:09 AM, NoRulez wrote: > >> Hello Richard, >> >> >> What is the configured cutoff time for Nightly runs? >> Did you mean the nightly build time? > > I mean this value (for example in CTestConfig.cmake) > such as:

[CMake] Bug 12630 possible for CMake 2.8.9?

2012-07-16 Thread norulez
Hello, is there a chance to get http://public.kitware.com/Bug/view.php?id=12630 into 2.8.9? Best Regards -- 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] Problems with CPack 2.8.8

2012-07-03 Thread NoRulez
ay it is now in 2.8.8? Seems like 3 months is a pretty long time before anybody noticed a change in behavior like this one. Thanks for the report. And further comments will be appreciated. David On Tue, Jul 3, 2012 at 4:28 AM, NoRulez <noru...@me.com> wrote: > Hello, > > i&

[CMake] Problems with CPack 2.8.8

2012-07-03 Thread NoRulez
Hello,i've upgraded my cmake installation from 2.8.7 to 2.8.8. After the upgrade the cpack has an unwanted behavior.When i run cpack from the build directory (in cpack 2.8.7) then cpack iterates over all configured CPACK_GENERATORs and creates the installer/archives.But with cpack 2.8.8 I get only

Re: [CMake] Strange behavior with Nightly builds

2012-06-22 Thread NoRulez
rs does the "continuous" builder run? When does the "nightly" builder run? Which builds do you expect to be posted to "continuous"? Which builds do you expect to be posted to "nightly"? === With those answers, perhaps I will be able to understand what you exp

Re: [CMake] Strange behavior with Nightly builds

2012-06-20 Thread NoRulez
Has no one an idea on how to do so or is such functionality missing?Thanks in advanceBest RegardsAm 15. Jun 2012 um 08:38 schrieb NoRulez :Hello David,but the problem is, that the timestamp is one day behind, so this doesn't work and I get previous revisions. (Our nightly build starts at 23:0

Re: [CMake] Strange behavior with Nightly builds

2012-06-14 Thread NoRulez
un 14, 2012 at 3:07 AM, NoRulez <noru...@me.com> wrote:I think i fond the problem, but I don't know how to solve it.I have the following defined in the CTestScript.cmake:if(${NEED_REPOSITORY_CHECKOUT})     set(CTEST_CHECKOUT_COMMAND "${CTEST_UPDATE_COMMAND} co ${REPOSITORY_URL} \&quo

Re: [CMake] Strange behavior with Nightly builds

2012-06-14 Thread NoRulez
uot;From the svn documentation: If no revision is given, bring working copy up-to-date with HEAD rev. Else synchronize working copy to revision given by -r.So, how could I remove the last command line argument ("-r{2012-06-12 23:00:00 +}")?Thanks in advanceBest RegardsAm 06. Jun

[CMake] Strange behavior with Nightly builds

2012-06-05 Thread NoRulez
Hello,here is the build process of the build server: 1.) e.g.: last commit at 03:00 pm (svn revision 8) => build is ok2.) The nightly build starts at 10:00 pm (svn revision 7) => build is ok    Why is the svn revision before the last commit, it should be 8?3.) In the morning (~ 06:00 am) a continuo

[CMake] Meaning of CTEST_ENVIRONMENT

2012-06-01 Thread NoRulez
Hello,in an example i saw that CTEST_ENVIRONMENT is used to set specific paths.I tried the same in my CTestScript, but this doesn't work. Can anybody explain me why variant 1 is working and variant 2 is not?1.Variant:set(ENV{QTDIR} "C:\\Qt")set(ENV{PATH} "$ENV{QTDIR};$ENV{QTDIR}\\bin;$ENV{PATH}")2.

[CMake] Problems with nightly builds

2012-05-31 Thread NoRulez
Hello,i've a build server running based on http://www.cmake.org/Wiki/CTest:Buildserver.The build slave is a Windows Server 2003 R2.So, what I try to archive is the following:Each time a developer check in files/changes, then the continuous build (every minute) starts to with the last changes found.

Re: [CMake] CPack: Installing applications in separate folders (NSIS)

2012-05-22 Thread norulez
I got it to work. Under windows/NSIS I set the destination to "../CustomDir" instead of $CustomDir. With this and a custom nsis script which knows the location it is possible to run CPack. In the NSIS script I've the following Var $CustomDir="@CPACK_TEMPORARY_DIRECTORY@\..\CustomDir" After thi

Re: [CMake] CPack: Installing applications in separate folders (NSIS)

2012-05-21 Thread norulez
; "File /r \"${INST_DIR}\\*.*\""); >> >> That results in the following generated in project.nsi: >> >> File /r "${INST_DIR}\*.*" >> >> which installs all files and directories recursively (from your make

Re: [CMake] CPack: Installing applications in separate folders (NSIS)

2012-05-21 Thread norulez
> > which installs all files and directories recursively (from your make install > tree) to the installation directory chosen by the end user of your > installation program. > > > This stuff is not easy, especially when we can't see your code. > > Cheers, (& go

Re: [CMake] CPack doesn't recognize custom templates

2012-05-21 Thread norulez
mmands which I didn't find. The only one I >> need is the command which copies the necessary files into the temporary >> CPack directory (_CPack_Packges). >> >> Which CPack variable and/or NSIS commands from the original template file >> are required to solve th

[CMake] CPack: Installing applications in separate folders (NSIS)

2012-05-21 Thread NoRulez
Hi,I know that the install commands collect files and copy them into the temporary cpack directory for the specified generator.How is it possible to install an application for example into those folders:C:\myappC:\somefolderI defined 'Var CustomDir="C:\somefolder"' in the NSIS template.When I then

Re: [CMake] How to use verbose and debug output for CPack under VS

2012-05-21 Thread norulez
Thanks, the custom command works Am 21.05.2012 um 17:41 schrieb David Cole : > On Mon, May 21, 2012 at 3:30 AM, Eric Noulard wrote: > 2012/5/21 : > > Is there an environment variable or a CMake/CPack variable which is must > > set? > > Currently AFAIK there aren't any. > But it would be easy

Re: [CMake] How to use verbose and debug output for CPack under VS

2012-05-20 Thread norulez
and line parameters? > > Thanks in advance > > Best Regards > NoRulez > -- > > 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 CMa

[CMake] How to use verbose and debug output for CPack under VS

2012-05-20 Thread norulez
Hello, how can I configure a project for Visual Studio to use the "--verbose" and the "--debug" options/command line parameters? Thanks in advance Best Regards NoRulez -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/openso

Re: [CMake] CPack doesn't recognize custom templates

2012-05-19 Thread norulez
plate.in file are some commands which I didn't find. The only one I > need is the command which copies the necessary files into the temporary CPack > directory (_CPack_Packges). > > Which CPack variable and/or NSIS commands from the original template file are > required to solve

Re: [CMake] CPack doesn't recognize custom templates

2012-05-19 Thread norulez
x27;t find. The only one I need is the command which copies the necessary files into the temporary CPack directory (_CPack_Packges). Which CPack variable and/or NSIS commands from the original template file are required to solve this? Thanks in advance Best Regards Am 09.05.2012 um 20:45 s

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread NoRulez
>> By the way could you try 2.8.8 instead of 2.8.7 ?Yes, I will try it tomorrow (I read the changelog http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.8 but I can't find any details where this behavior may be fixed)Because on our Buildserver CMake 2.8.7 is installed and if no relevant changes are

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread norulez
>> Is it the case? Is there any file in _CPack_Packages\win32\NSIS\MyProject ?No, there aren't any files>> Could you copy/paste the exact message you get and may be running cpack on the command line with ---verbose and --debug.Sure, but I can only do so tomorrow>> Nope normally you don't but what a

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread norulez
7;make install' tree in order to work well on Windows with the NSIS generator.)On Wed, May 9, 2012 at 1:34 PM, NoRulez <noru...@me.com> wrote: > Hello Eric, > > I've found the problem, it was my mistake. A few lines later i overwrote the > CPACK_MODULE_PATH setting.

Re: [CMake] CPack doesn't recognize custom templates

2012-05-09 Thread NoRulez
Hello Eric,I've found the problem, it was my mistake. A few lines later i overwrote the CPACK_MODULE_PATH setting. [RESOLVED] But what I didn't understand was the fact that it would work on Windows 7 with the same settings.So, my custom CPackConfig.cmake.in and my NSIS.template.in seems to work, b

Re: [CMake] CPack doesn't recognize custom templates

2012-05-08 Thread norulez
It is only a copy from the original. It doesn't work in windows xp in general. Best Regards Am 08.05.2012 um 13:51 schrieb Eric Noulard : > 2012/5/8 : >> There is no difference with your command. It still uses the NSIS.template.in >> file from the CMake installation. > > Are there any differe

  1   2   3   >