[CMake] Setting variables in included cmake module files

2014-08-11 Thread Arindam Mukherjee
I have a listfile CMakeLists.txt which includes two cmake modules - vardefs.cmake and unix.cmake, both of which are included by the list file from some path set using CMAKE_MODULE_PATH. I set some variables in vardefs.cmake which I am trying to use in the list file and in unix.cmake. Looks like

Re: [CMake] CMake rebuilds every time

2012-11-07 Thread Arindam Mukherjee
On Thu, Oct 25, 2012 at 6:02 PM, Arindam Mukherjee arindam.muker...@gmail.com wrote: On Mon, Oct 22, 2012 at 5:55 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22, 2012 at 6:38 AM, Arindam Mukherjee arindam.muker...@gmail.com wrote: On Mon, Oct 22, 2012 at 4:06 PM, Arindam Mukherjee

Re: [CMake] CMake rebuilds every time

2012-10-25 Thread Arindam Mukherjee
On Mon, Oct 22, 2012 at 5:55 PM, David Cole david.c...@kitware.com wrote: On Mon, Oct 22, 2012 at 6:38 AM, Arindam Mukherjee arindam.muker...@gmail.com wrote: On Mon, Oct 22, 2012 at 4:06 PM, Arindam Mukherjee arindam.muker...@gmail.com wrote: I am sorry I missed your response. Here

Re: [CMake] CMake rebuilds every time

2012-10-22 Thread Arindam Mukherjee
look like? Only the necessary rebuild steps should be taken on an incremental build. How do you invoke a rebuild? (Just typing 'make' or some other mechanism?) On Mon, Oct 15, 2012 at 6:22 AM, Arindam Mukherjee arindam.muker...@gmail.com wrote: Hi, I have a cross-platform build setup

Re: [CMake] CMake rebuilds every time

2012-10-22 Thread Arindam Mukherjee
On Mon, Oct 22, 2012 at 4:06 PM, Arindam Mukherjee arindam.muker...@gmail.com wrote: I am sorry I missed your response. Here are the details: 1. I have a shell / batch script which does two things: a. cd build_dir cmake $SRC_PATH b. make # On Unix On Windows, for step b., we

Re: [CMake] Need cmake to work on AIX 5.3

2012-10-12 Thread Arindam Mukherjee
On Thu, Oct 11, 2012 at 12:24 AM, Brad King brad.k...@kitware.com wrote: On 10/10/2012 02:27 PM, Arindam Mukherjee wrote: On Wed, Oct 10, 2012 at 8:51 PM, Brad King brad.k...@kitware.com wrote: $ head -1 cmake_aix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c ifdef __cplusplus http

Re: [CMake] Need cmake to work on AIX 5.3

2012-10-10 Thread Arindam Mukherjee
On Wed, Oct 10, 2012 at 8:51 PM, Brad King brad.k...@kitware.com wrote: On 10/10/2012 06:11 AM, Arindam Mukherjee wrote: Here are the files. The first line of this file is missing the leading '#': $ head -1 cmake_aix/CMakeFiles/CompilerIdC/CMakeCCompilerId.c ifdef __cplusplus That means

[CMake] Need cmake to work on AIX 5.3

2012-10-09 Thread Arindam Mukherjee
Hi, I have to get a build of my product on AIX 5.3 (powerpc) because of backward compatibility concerns. The product builds fine on such a system using conventional gmake. However, cmake fails to identify the xlc/xlC compilers correctly and reports them as broken. What is the way to fix this?

Re: [CMake] Need cmake to work on AIX 5.3

2012-10-09 Thread Arindam Mukherjee
On Tue, Oct 9, 2012 at 9:21 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 10/9/2012 5:58 AM, Arindam Mukherjee wrote: Hi, I have to get a build of my product on AIX 5.3 (powerpc) because of backward compatibility concerns. The product builds fine on such a system using conventional

[CMake] Accessing intermediate Visual Studio output files

2012-10-06 Thread Arindam Mukherjee
Hi, I am using cmake to generate VS 2008 solution and project files. The directory structure of the source look like this: Sources: src/project1 project2 project3 etc. Runtime output dir: bin/Windows/ver/plat/arch/binaries Build dir: cmake/Windows/ver/plat/arch-- this is the

Re: [CMake] Cross compiling for Windows x64/amd64 on 32-bit Windows

2012-10-02 Thread Arindam Mukherjee
On Tue, Oct 2, 2012 at 2:48 AM, Xavier Besseron xavier.besse...@uni.lu wrote: Hi, I was able to build win64 executable on my 32-bit Windows. First, I had to make the full installation of VS 2008 (the default installation did not provide the win64 compiler in my case). Then, I had to select

Re: [CMake] Cross compiling for Windows x64/amd64 on 32-bit Windows

2012-10-02 Thread Arindam Mukherjee
On Tue, Oct 2, 2012 at 4:22 PM, David Cole david.c...@kitware.com wrote: On Tue, Oct 2, 2012 at 5:30 AM, Arindam Mukherjee arindam.muker...@gmail.com wrote: On Tue, Oct 2, 2012 at 2:48 AM, Xavier Besseron xavier.besse...@uni.lu wrote: Hi, I was able to build win64 executable on my 32