[CMake] some basic questions

2008-08-08 Thread Frans.Fuerst
Hi all, I have some probably easy to answer questions, nevertheless I found no answer on the web yet. And I dont want to start separate threads because I think there will be one word only answers :) * can CMake handle multiple make processes or any other strategy to make use of multiple proc

[CMake] Symbian linker issues

2008-08-07 Thread Frans.Fuerst
Hi again, I have some trouble linking to libraries shipped with the sdk. 1. There is a "c:/Symbian/9.2/S60_3rd_FP1/EPOC32/RELEASE/ARMV5/UREL/usrt2_2.lib" I have to link against. The built in Symbian make tools start the linker directly and pass usrt2_2.lib with the full path name within gro

Re: [CMake] Symbian GCC/nmake build #4 - compiling works now

2008-08-07 Thread Frans.Fuerst
Hi Alex, * the ADD_DEFINITION calls in the toolchain file are required there since there are much more compiler scenarios out there, for example: - compiling with winscw instead of gcce (for the emulator) - compiling against another sdk (there are much more out there) * "Symbian.cmake looks goo

Re: [CMake] Maximum path length in CMakeFiles

2008-08-06 Thread Frans.Fuerst
Hi Brad, hm, it does'nt seem to be the maximum file name length alone. Many files which have only the full pathname length in common (about 250) throw an error. But files with some more characters don't produce errors. For me it looks like something like a string resize problem in nmake :) Here

[CMake] toolchain files ADD_DEFINITIONS interpreted multiply

2008-08-06 Thread Frans.Fuerst
And again.. I moved an ADD_DEFINITIONS instruction to my symbian toolchain file: ADD_DEFINITIONS(-include "\"C:/Symbian/9.2/S60_3rd_FP1/EPOC32/INCLUDE/GCCE/GCCE.h\"" ) now the include flag is added twice to the compiler command even after deleting every intermediately generated cache file m

[CMake] Maximum path length in CMakeFiles

2008-08-06 Thread Frans.Fuerst
Hi again, might there be a maximum path length limitation in CMake (or perhaps in nmake)? Trying to compile a library I have to comment out every source file that leads to a CMakeFiles/... object file with a total path length of over 200. Is that a known problem and can I avoid it despite by

[CMake] Symbian GCC/nmake build #4 - compiling works now

2008-08-06 Thread Frans.Fuerst
Hello again, after Bill corrected my awkward make/nmake confusion, at least compiling works now for me under the following circumstances: * build for the phone (in contrast to the emulator) * S60 3rd FP1 (9.2) SDK with gcce * CMake 2.6.1 * OpenC with P.I.P.S. installed again, for those who w

[CMake] Symbian GCC/nmake build #3

2008-08-04 Thread Frans.Fuerst
Hello again, I'm still trying to make CMake compile my Symbian project using a gcc (GCCE) toolchain and I have some progress to report since my last posting (see http://www.cmake.org/pipermail/cmake/2008-July/022868.html http://www.cmake.org/pipermail/cmake/2008-July/022868.html> ) as the com

Re: [CMake] generic Symbian gcce-toolchain file

2008-07-21 Thread Frans.Fuerst
Hi Alex, I've adapted your Symbian.cmake - I've appended the most recent Cmake output to this post. The current corresponding toolchain/symbian.cmake files can be found here: https://garage.ran-dom.org/public/mixer-frans/brandneu/cmake-toolchain_files/ CMake tells something about a bug - but I t

[CMake] generic Symbian gcce-toolchain file

2008-07-17 Thread Frans.Fuerst
Hi, I'm trying to use CMake to build Symbian 9.2-FP1 (S60) executables in a generic way (i.e. not building mmp-files which have to be interpreted by perl-scripts provided with the SDKs). There have been similar questions asked here before but I haven't found a complete answer yet that would ma