On Tuesday 03 February 2009, Hendrik Sattler wrote: > Dmitry Bely schrieb: > >> If you use a toolchain file because you are cross-compiling, then you do > >> not have this problem. > > > > I would like to use the same CMakeLists.txt for native Win32 and > > cross-compiled Linux build. How to select the desired assembler then? > > Just like you select the C compiler in your toolchain file: > set ( CMAKE_ASM_MASM_COMPILER /path/to/masm/or/jwasm )
Or set the ASM_MASM environment variable to the assembler you want to use before calling cmake (the same way as you can set CC or CXX before running cmake). Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
