Re: [CMake] ASM on the Mac

2012-11-05 Thread Alexander Neundorf
On Monday 05 November 2012, Mike Krus wrote: > Hi again > > > Using ASM_NASM works better except the nasm call seems to get all the CXX > flags, some of them (-F) being invalid. This is what is being set in Modules/CMakeASM_NASMInformation.cmake, which should be used: set(CMAKE_ASM_NASM_COMPI

Re: [CMake] ASM on the Mac

2012-11-05 Thread Alexander Neundorf
On Monday 05 November 2012, Mike Krus wrote: > Hi > > got some issues compiling ASM of Mac, mixed with other C++ code. In my > CMake file I use: > > INCLUDE(CheckLanguage) > > check_language(ASM) > > if(CMAKE_ASM_COMPILER) > > enable_language(ASM) > >

Re: [CMake] ASM on the Mac

2012-11-05 Thread Alexander Neundorf
On Monday 05 November 2012, Mike Krus wrote: > Hi > > got some issues compiling ASM of Mac, mixed with other C++ code. In my > CMake file I use: > > INCLUDE(CheckLanguage) > > check_language(ASM) > > if(CMAKE_ASM_COMPILER) > > enable_language(ASM) > >

Re: [CMake] ASM on the Mac

2012-11-05 Thread Mike Krus
Hi again Using ASM_NASM works better except the nasm call seems to get all the CXX flags, some of them (-F) being invalid. FAILED: /usr/bin/nasm -Iproducts/4DMove/tools/sediment -I../../products/4DMove/tools/sediment -I../../products/4DMove -I../../products/4DMove/utilities -Iproducts/4DMove

[CMake] ASM on the Mac

2012-11-05 Thread Mike Krus
Hi got some issues compiling ASM of Mac, mixed with other C++ code. In my CMake file I use: INCLUDE(CheckLanguage) check_language(ASM) if(CMAKE_ASM_COMPILER) enable_language(ASM) LIST(APPEND nm_tls_ALL_src src/FlowScalarField64.asm)