Re: [CMake] Meet an error when extracting boost_1_52_0.zip.

2013-10-21 Thread Rolf Eike Beer
Am Dienstag, 22. Oktober 2013, 10:37:17 schrieb 25...@163.com: > 3>CUSTOMBUILD : CMake error : Problem with archive_write_finish_entry(): > Can't restore time > 3>CUSTOMBUILD : CMake error : Problem extracting tar: No idea if it is related, but your date setting is in the future. Eike signa

Re: [CMake] Mixed Fortran and C sources with Visual Studio 10

2013-10-21 Thread Arjen Markus
Hi Brian, as I understand it, it is an explicit limitation of Visual Studio that a VS project can only contain a single programming language. The solution to this would to split the sources into separate lists and build libraries from them. An alternative might be to use the Nmake approach - th

[CMake] Meet an error when extracting boost_1_52_0.zip.

2013-10-21 Thread 200005...@163.com
hi,all I was working on windows7 and use cmake-2.8.12, swig: C:/swigwin-2.0.10/swig.exe, Python:C:/Python27/python.exe. I meet an error when i compile Bolt source code. the steps as below: 1. Start a Powershell.exe and then enter my work directory. 2. Download Bolt source code by "git clone https

[CMake] Mixed Fortran and C sources with Visual Studio 10

2013-10-21 Thread Brian Wainscott
I'm trying to convert a large(ish) project to cmake. Everything works fine in Linux, but I'm having problems on Windows. Specifically, we have both C and Fortran sources mixed together in a single directory. Cmake is producing an vcxproj file and none of the Fortran code gets compiled. I've bee

Re: [CMake] CMake 3.0?

2013-10-21 Thread Matthew Woehlke
On 2013-10-21 04:12, Gregoire Aujay wrote: I have seen that CMake 2.8.13 has been removed from the Mantis Roadmap. Instead there is a new 3.0 version Can you tell us more about it? See http://permalink.gmane.org/gmane.comp.programming.tools.cmake.devel/8207. -- Matthew -- Powered by www.

Re: [CMake] TARGET.dir variable?

2013-10-21 Thread Alexander Neundorf
On Monday 21 October 2013, Weatherby,Gerard wrote: > Is there a predefined variable for the TARGET.dir subdirectory of > ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY} ? I'm rolling my own - > easy enough -but wanted to double check I'm not missing an easier way to > do it? No, there is not,

[CMake] TARGET.dir variable?

2013-10-21 Thread Weatherby,Gerard
Is there a predefined variable for the TARGET.dir subdirectory of ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY} ? I'm rolling my own - easy enough -but wanted to double check I'm not missing an easier way to do it? Gerard Weatherby Appllication Architect Virtual Cell, Center for Cell Analy

[CMake] Setting CMAKE_CXX_COMPILER & CMAKE_C_COMPILER in CMakeLists.txt

2013-10-21 Thread aditya siram
Hi all, I'm using CMake to try compile a set of C bindings to the FLTK GUI library and would like to set the C/C++ compiler variables in the build script but haven't been successful. I realize that setting environment variables is the recommended method but I've tried to explain why I need it belo

Re: [CMake] Debuginfo builds and CPack RPM support

2013-10-21 Thread edwin.jacques
I would like for there to be support for debuginfo builds as well. This is essential in my use case, where I am debugging a huge program on a remote system with limited memory and a relatively slow network link. Having a separate symbol pacakge is the preferred way to debug remotely since symbols

Re: [CMake] Possible differences in result of list(SORT)

2013-10-21 Thread Nils Gladitz
list(SORT) does an std::sort() of std::strings. I think CMake does not perform any character set conversions so the available strings retain the encoding as used in the input file and std::string ordering is based on byte-wise comparison. Nils On 10/21/2013 12:58 PM, Ingolf Steinbach wrote:

[CMake] include library directories are wrong

2013-10-21 Thread ishi soichi
cmake 2.8.12 MacOSX 10.8.5 gcc i686-apple-darwin11-llvm-gcc-4.2 OpenCV 2.4.3 Hi. I am new to cmake. Now I am trying to build a system that requires OpenCV. Source codes are separated into several modules, so cmake can make my life easier. running cmake . in the project directory seems ok, givin

[CMake] Possible differences in result of list(SORT)

2013-10-21 Thread Ingolf Steinbach
Hi, according to the documentation, list(SORT ) "sorts the list in-place alphabetically". Without changing the host system: Does the order depend on any additional input (like settings of environment variables)? For instance the sort tool (on POSIX systems) shows significant dependencies with res

Re: [CMake] How to write a correct wrapper of MESSAGE()?

2013-10-21 Thread Johannes Zarl
On Thursday, 17. October 2013, 07:12:51, Clark WANG wrote: > When I'm using CMake more and more I find it's not a real serious > "language". It's so tricky. I can see why you are frustrated. I don't think it's all bad though. Hopefully CMake3 will be used for some language cleanups at the expense

Re: [CMake] How to test for the usability of a target

2013-10-21 Thread Johannes Zarl
On Wednesday, 16. October 2013, 19:45:32, Alexander Neundorf wrote: > On Tuesday 15 October 2013, Johannes Zarl wrote: > > I'd like to make some code in my build system dependent on the existance > > of a target. Basically I'd like to write something like this: > > > > if(TARGET optional_lib) > >

Re: [CMake] cmake-2.8.12: generator expression error when linker flags have comma

2013-10-21 Thread Stephen Kelly
Jed Brown wrote: > Stephen Kelly writes: > >> Jed Brown wrote: >> >>> I just upgraded from cmake-2.8.11.2 to 2.8.12 and now get errors when a >>> comma ',' appears in a linker flag. Test case below. Note that this is >>> but one of many reasons for a comma to appear in linker flags. >> >> I've

[CMake] CMake 3.0?

2013-10-21 Thread Gregoire Aujay
Hello, I have seen that CMake 2.8.13 has been removed from the Mantis Roadmap. Instead there is a new 3.0 version Can you tell us more about it? Does that mean that we are to expect great new stuff ? I guess it will break backward compatibility since you change major, what is going to be broken