Re: [CMake] help with shared-lib make failure

2012-06-16 Thread luxInteg
On Saturday 16 June 2012 09:45:56 luxInteg wrote: > Greetings, > > Its been about 1 year since since I had a go at learning cmake. > My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2, > cmake-2.8.7 > > This is my current problem: > My project has a file call this file1.c. > CMa

Re: [CMake] Calling NMake from CMake

2012-06-16 Thread Jean-Christophe Fillion-Robin
Hi Brian, While I am not directly answering your question, if you want to build zlib in a cross-platform fashion, you could probably have a look at: https://github.com/commontk/zlib Hth Jc On Sat, Jun 16, 2012 at 5:11 PM, Brian J. Davis wrote: > > Since I do not see a FindNmake or the likes, i

[CMake] Calling NMake from CMake

2012-06-16 Thread Brian J. Davis
Since I do not see a FindNmake or the likes, is there a way to call Nmake from a CMakeLists.txt file? The root CMakeList.txt file contains: set( LIBTIFF_CONFIGURE_FILE ${TOP}/CMake/libtiff/CMakeLists.txt.config ) configure_file( ${LIBTIFF_CONFIGURE_FILE} ${SOURCE_DIR}/libtiff/CMakeLists.txt.

[CMake] cmake as pkg-config replacement has problems?

2012-06-16 Thread Hendrik Sattler
Hi, I try the following commands with my projects config file. It is not installed but the build tree is registered with export(TARGET). $ cmake -DNAME=OpenObex -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE --find-package -I/home/hendrik/projects/obex/openobex/repository/include $ cmake -DNAME=

[CMake] Corrupt object files bootstrapping cmake on x86_64 Synology

2012-06-16 Thread Vicne Vicne
Hi, all, I have a project that uses cmake as build system on a Synology NAS. As I could not find binaries, I had successfully built cmake v2.8.4 one year ago on an old ARM-based model (DS-109). Now I want to migrate my project to a brand new Intel-based model (DS-412+ with Intel D2700 processor).

Re: [CMake] How to remove CMAKE_INSTALL_PREFIX from cache non-advanced mode?

2012-06-16 Thread David Cole
http://cmake.org/cmake/help/v2.8.8/cmake.html#command:mark_as_advanced On Sat, Jun 16, 2012 at 8:33 AM, David Cole wrote: > mark_as_advanced(CMAKE_INSTALL_PREFIX) > > > On Sat, Jun 16, 2012 at 7:20 AM, hce wrote: > >> Hi, >> >> I am using ccmake to configurate cache. The CMAKE_INSTALL_PREFIX i

Re: [CMake] How to remove CMAKE_INSTALL_PREFIX from cache non-advanced mode?

2012-06-16 Thread David Cole
mark_as_advanced(CMAKE_INSTALL_PREFIX) On Sat, Jun 16, 2012 at 7:20 AM, hce wrote: > Hi, > > I am using ccmake to configurate cache. The CMAKE_INSTALL_PREFIX is always > visible in the non-advinced mode and I don't want it. How can I remove the > CMAKE_INSTALL_PREFIX from the ccmake non-advince

Re: [CMake] "Mastering CMake": which cmake version?

2012-06-16 Thread David Cole
I think the book is useful, but does not contain specific information about "complex setups" per se. You will perhaps want both: read the book, and ask here for advice. :-) David On Fri, Jun 15, 2012 at 9:25 PM, Klaim - Joël Lamotte wrote: > Thanks for the info. > > I just wanted to add that

[CMake] How to remove CMAKE_INSTALL_PREFIX from cache non-advanced mode?

2012-06-16 Thread hce
Hi, I am using ccmake to configurate cache. The CMAKE_INSTALL_PREFIX is always visible in the non-advinced mode and I don't want it. How can I remove the CMAKE_INSTALL_PREFIX from the ccmake non-advinced mode? Thank you. -- View this message in context: http://cmake.3232098.n2.nabble.com/How-to

[CMake] help with shared-lib make failure

2012-06-16 Thread luxInteg
Greetings, Its been about 1 year since since I had a go at learning cmake. My current setup has these:- OS 64bit(AMD) cblfs linux, gcc-4.4.2, cmake-2.8.7 This is my current problem: My project has a file call this file1.c. CMake is used o generate makefile etc When make compiles file1.c