Re: [CMake] Cannot find appropriate C++ compiler

2013-06-10 Thread Ilias Miroslav
Ad: http://www.cmake.org/pipermail/cmake/2013-June/054994.html Dear Bill, the log output file is attached; repeating errors in this file are: -- cmake_bootstrap_22794_test.cxx:3:21: error: iostream: No such file or directory cmake_bootstrap_22794_test.cxx:

[CMake] INSTALL_NAME_DIR ignored in add_library?

2013-06-10 Thread Vittorio Giovara
Hi, I'm trying to modify the install_name path of a library created with add_library(SHARED) on MacOS, using Unix Makefiles, cmake 2.8.10.2 and 2.8.11. I've tried setting the global variable set(CMAKE_INSTALL_NAME_DIR "@executable_path/../Frameworks/") I've tried editing the target properties wi

Re: [CMake] Cross-platform build under Windows targeting Linux

2013-06-10 Thread Richard Shaw
On Mon, Jun 10, 2013 at 2:06 PM, Matthew Woehlke < matthew.woeh...@kitware.com> wrote: > On 2013-06-10 04:52, setareh S wrote: > >> Now, I want to build my code for Linux platform(GNU/Linux) on a Win32 >> platform. I tried doing the above procedure using CMake combined with >> Cygwin and using gcc

[CMake] Re: Complicated dependency handling between linux & windows

2013-06-10 Thread David Cole
> That's more philosophical advice than practical. Hence the smiley face. Although, in reality it’s practical, too. > It's unfortunately impossible sometimes to eliminate > dependencies. I understand that. > This is one area CMake > should handle well. > I'm a bit surprised that this is

Re: [CMake] Complicated dependency handling between linux & windows

2013-06-10 Thread Robert Dailey
That's more philosophical advice than practical. It's unfortunately impossible sometimes to eliminate dependencies. This is one area CMake should handle well. I'm a bit surprised that this is so difficult. On Mon, Jun 10, 2013 at 9:29 AM, David Cole wrote: >> Is there a single, great way to handl

Re: [CMake] install(EXPORT ...) behavior for multi-configuration generators

2013-06-10 Thread Gregoire Aujay
Hello, Can someone help me with this issue, see description below. I had to disable install(EXPORT ...) when using multi-configuration generators. This leads to errors for people using one of them. Issue is that I cannot export targets that are installed in different locations (one for debug, a

Re: [CMake] Wiki: version compatibility matrix

2013-06-10 Thread Jean-Christophe Fillion-Robin
The matrix is very useful. Thanks for working on this :) Jc On Mon, Jun 10, 2013 at 5:46 AM, Johannes Zarl wrote: > Hi, > > Am 23.05.2013, 19:38:26 schrieb Alexander Neundorf: > > the matrix is getting a bit out of date, the last update is for 2.8.8. > > Can you try to create an updated versio

[CMake] Re: Problem with externalproject and configure options

2013-06-10 Thread David Cole
... > xpr-incdir=${Xpress_root_dir}/include --with-xpr-lib="-lxprs -lxprl" > --with-osixpr-incdir=${Xpress_root_dir}/include > --with-osixpr-lib="-lxprs -lxprl" > --with-xpress-incdir=${Xpress_root_dir}/include > --with-xpress-lib="-lxprs -lxprl" ... Try this: "--with-xpr-lib=\"-lxprs -lxprl

[CMake] Re: Complicated dependency handling between linux & windows

2013-06-10 Thread David Cole
> Is there a single, great way to handle third party dependencies > conveniently and mostly transparently between Windows & Linux? Not yet. 😊 The best bet is always to eliminate as many of your dependencies as possible. D.-- Powered by www.kitware.com Visit other Kitware open-source proje

Re: [CMake] enable_languague (... OPTIONAL) broken?

2013-06-10 Thread David Cole
>> On Friday, 7. June 2013, 17:08:33, Marcel Loose wrote: >> I'm puzzled w.r.t. the behavior of enable_language(... OPTIONAL). > The documentation currently (since 2.8.11) states that "at present, the > OPTIONAL argument does not work." See also these known, still-unresolved bugs: http://publi

[CMake] Cmake 2.8.11 AArch64 Target build problem

2013-06-10 Thread Mahwish Arif
I am using cmake 2.8.11 to build LLVM on 64-bit Linux. I am getting the following build error: Scanning dependencies of target LLVMAArch64Utils make[2]: *** No rule to make target `lib/Target/AArch64/AArch64GenSubtargetInfo.inc', needed by `lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/

Re: [CMake] Cross-platform build under Windows targeting Linux

2013-06-10 Thread Ansis Māliņš
Don't bother. Setting up VirtualBox with Lubuntu is way easier.​ -- 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

[CMake] Cross-platform build under Windows targeting Linux

2013-06-10 Thread setareh S
I am developing a software in C++ on windows 32-bit (using MSVC++), but since I want to be able to use my software on every platform, I have decided to use CMake as my build generator. Therefore, I am still just a beginner in CMake. From the CMake tutorials, I understand that in order to cross com