Re: [CMake] portable way for specifying whether everything or selective libs should be linked statically or as shared objects?

2012-04-03 Thread Christoph Anton Mitterer
On Mon, 2012-04-02 at 21:57 -0400, Bill Hoffman wrote: > Nothing is perfect. :) Yeah :) Hope you didn't feel offended, which wasn't my intention! > I was concern about this for a while, Why no longer? > however, we have never seen a > compiler that did not take -D. :) Well I said this, but

Re: [CMake] Building CMake for HP NonStop

2012-04-03 Thread Brad King
On 4/3/2012 2:23 PM, Mike Clapper wrote: > I am trying to bootstrap CMake-2.8.7 to HP NonStop using the OSS > environment. The environment provided by OSS is very similar to Linux > and Unix. The underlying hardware is IA64. Thanks for working on the port. We'll be happy to take fixes upstream

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Hello again Andreas! As i said before, the error was already solved. In fact, the function header was declared, but the implementation in .cpp file was not using "Executor::" prefix, so the header declaration hadn't a proper implementation to the function. Additionally, i agree that was a mistak

Re: [CMake] String error Cmake

2012-04-03 Thread Aaron_Wright
Did you define Executor::runCommand(...)? --- Aaron Wright From: Mauricio Klein To: cmake@cmake.org Date: 04/03/2012 11:49 AM Subject:Re: [CMake] String error Cmake Sent by:cmake-boun...@cmake.org One more information: Andreas, i'm compiling at least 10 .cpp codes,

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
On 03.04.12 15:46:08, Mauricio Klein wrote: > The complete error is the following: > > > CMakeFiles/MonitoraITSchedulerAgent.dir/SourceCode/src/Executor.cpp.o: In > function `Executor::execute(Service*, unsigned int)': > Executor.cpp:(.text+0x8c): undefined reference t

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Yes Aaron, the function was defined in .h, but the implementation in .cpp didn't have the "Executor::" prefix. Now, everything is working fine. Thanks for your attention! On Tue, Apr 3, 2012 at 3:51 PM, wrote: > Did you define Executor::runCommand(...)? > > --- > Aaron Wright > > > > > From:

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Guys, i'm so sorry! It was a programmin mistake. I've defined the function without putting the Class name before it's name. Thanks Andreas for your help! On Tue, Apr 3, 2012 at 3:48 PM, Mauricio Klein wrote: > One more information: > > Andreas, i'm compiling at least 10 .cpp codes, many of the

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
One more information: Andreas, i'm compiling at least 10 .cpp codes, many of them using string without problems. The error is occurring just in this function, but i've assured that string libraries are included. On Tue, Apr 3, 2012 at 3:46 PM, Mauricio Klein wrote: > The complete error is the

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
The complete error is the following: CMakeFiles/MonitoraITSchedulerAgent.dir/SourceCode/src/Executor.cpp.o: In function `Executor::execute(Service*, unsigned int)': Executor.cpp:(.text+0x8c): undefined reference to `Executor::runCommand(char const*, unsigned int, std::

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
On 03.04.12 14:26:01, Mauricio Klein wrote: > Hello fellows! > > I'm compiling my code using CMake and i'm receiving a linker error like > this: > std::basic_string, std::allocator > When you get errors, post the complete error message and not just a part. The above is completely useless. > Afte

[CMake] Building CMake for HP NonStop

2012-04-03 Thread Mike Clapper
Hello, I am trying to bootstrap CMake-2.8.7 to HP NonStop using the OSS environment. The environment provided by OSS is very similar to Linux and Unix. The underlying hardware is IA64. Using the documents on the CMake site, I can get bootstrap to complete but the subsequent make fails. I have

Re: [CMake] portable way for specifying whether everything or selective libs should be linked statically or as shared objects?

2012-04-03 Thread Bill Hoffman
On 4/2/2012 9:57 PM, Bill Hoffman wrote: Well, you could implement it... :) This is an interesting interface: target_link_libraries(foo STATIC lib1 lib2 SHARED lib3 lib4) I would suggest that you move to the discussion to the cmake-developers list. I had another thought on this. Usually it i

[CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Hello fellows! I'm compiling my code using CMake and i'm receiving a linker error like this: std::basic_string, std::allocator > After few researches on the internet, i realized that this kind of error occurs when compiling a C++ code with GCC, instead G++. My question is: how can i force CMake

Re: [CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread Eric Noulard
2012/4/3 David Cole : > On Tue, Apr 3, 2012 at 11:45 AM, Eric Noulard wrote: >> 2012/4/3 Jonatan Wallmander : >>> Hi, >>> >>> I'm on cmake version 2.8.5 >>> >>> I looked in the changelog and couldn't find this, so here goes: >>> >>> >>> From what I can tell, NSIS with CPACK_PACKAGE_EXECUTABLES and

Re: [CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread David Cole
On Tue, Apr 3, 2012 at 11:45 AM, Eric Noulard wrote: > 2012/4/3 Jonatan Wallmander : >> Hi, >> >> I'm on cmake version 2.8.5 >> >> I looked in the changelog and couldn't find this, so here goes: >> >> >> From what I can tell, NSIS with CPACK_PACKAGE_EXECUTABLES and giving >> parameters to the exec

Re: [CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread Eric Noulard
2012/4/3 Jonatan Wallmander : > Hi, > > I'm on cmake version 2.8.5 > > I looked in the changelog and couldn't find this, so here goes: > > > From what I can tell, NSIS with CPACK_PACKAGE_EXECUTABLES and giving > parameters to the executable isn't supported. > > CMakeLists.txt: > set(CPACK_PACKAGE_E

[CMake] iOS application with seperate libs archiving problem...

2012-04-03 Thread Daniel Dekkers
David, concerning this bug on the roadmap for 2.8-8... http://www.cmake.org/Bug/view.php?id=12640 Things seem to have improved since Xcode 4.3/iOS5.1. The lib is now correctly built at the correct location, i.e. [cmakebuilddirectory]/[libname]/[configuration]-iphoneos (with configuration Debug,

[CMake] NSIS, CPACK_PACKAGE_EXECUTABLES and parameters

2012-04-03 Thread Jonatan Wallmander
Hi, I'm on cmake version 2.8.5 I looked in the changelog and couldn't find this, so here goes: From what I can tell, NSIS with CPACK_PACKAGE_EXECUTABLES and giving parameters to the executable isn't supported. CMakeLists.txt: set(CPACK_PACKAGE_EXECUTABLES "my_executable -f;My Executable")

Re: [CMake] How to declare a text file as CMakeLists.txt dependency

2012-04-03 Thread Andreas Mohr
Hi, On Tue, Apr 03, 2012 at 05:33:15AM -0400, cmake-requ...@cmake.org wrote: > Date: Tue, 03 Apr 2012 11:33:10 +0200 > From: Gregor Jasny > Subject: [CMake] How to declare a text file as CMakeLists.txt > dependency > To: cmake@cmake.org > Message-ID: <4f7ac3d6.6020...@googlemail.com> > Cont

[CMake] How to declare a text file as CMakeLists.txt dependency

2012-04-03 Thread Gregor Jasny
Hello, In my root project CMakeLists.txt file I'm using the file(STRINGS ...) command to read some version numbers from a text file. Now I'd like to declare this text file as a CMakeLists.txt dependency to re-trigger the CMake configuration step if a version number changes (Just like re-confi

[CMake] CMAKE_RC_COMPILER

2012-04-03 Thread Sergio Vera
Hello, When I compile my own projects with MinGW32 Cmake always complains that it cannot find CMAKE_RC_COMPILER (windres.exe), however, other executables from the Mingw directories are correctly detected. I've noticed that when compiling VTK5.8.0 with MinGW32, cmake does not compain about the RC co