2011/9/19 Martin Kupke <martin.ku...@novero.com>: > I'm using CMake in version 2.8.5 and just want to cross compile with a > decicated Compiler / Linker set on my Windows machine. Of course I've read > the FAQ and the Tutorial, afterwards I started trying to use CMake on a DOS > (cmd.exe) command line interface with CMakeLists.txt and a toolchain file. > After all tests failed to get CMake work in the Win32 environment, I tried > it in my private Linux (Debian Squeeze) and the same procedure is > successful. In Linux environment it works as described, in Win32 not. > > My PC has installed Windows XP including SP3. > CMake version 2.8.5 is installed. > My development path contains a CMakeLists.txt and a toolchain_ppc.cmake > file, because I want to compile on my WinXP code for an embedded hardware > using a PPC processor. > The toolchain_ppc.cmake file contains the following settings: > set (CMAKE_GENERATOR "NMake Makefiles")
I'm not sure whether if CMAKE_GENERATOR can be set in the toolchain file? [...] > D:\novero\Discovery\impl\target\CarIF_Appl\output>cmake -D > CMAKE_TOOLCHAIN_FILE="..\toolchain_ppc.cmake" .. did you try to add '-G "NMake Makefiles"' to your command line? [...] > I just want to use a standard Assembler, C Compiler and Linker. > I don't need CXX (C++) in my build environment and even I don't need (want) > any Visual Studio in my Cross Compilation. > The generator for CMake shall be "NMake Makefiles" so that the generated > Makefile can be used with "NMake". > > Hopefully you can help me out of this. > > > _______________________________________________ > 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 FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake