The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13166 
====================================================================== 
Reported By:                Adrien Pensart
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13166
Category:                   CMake
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-24 23:44 EDT
Last Modified:              2012-04-24 23:44 EDT
====================================================================== 
Summary:                    Can't set CMAKE_ASM_NASM_OBJECT_FORMAT = 'bin',
always resetted to 'elf'
Description: 
I don't understand why this variable is always resetted to 'elf' value...

Steps to Reproduce: 
The errors is shown when I do a make VERBOSE=1 : 

[100%] Building ASM_NASM object CMakeFiles/main.dir/BareMetal.asm.o
/usr/bin/nasm   -f elf -o CMakeFiles/main.dir/BareMetal.asm.o
/home/crunch/backtometal/sources/samples/BareMetal.asm
/home/crunch/backtometal/sources/samples/BareMetal.asm:2: error: parser:
instruction expected

Additional Information: 
CMakeLists.txt : 

cmake_minimum_required (VERSION 2.8)
project(sample ASM_NASM)

set(CMAKE_ASM_NASM_OBJECT_FORMAT bin)

add_executable(main BareMetal.asm)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-24 23:44 Adrien Pensart New Issue                                    
2012-04-24 23:44 Adrien Pensart File Added: BareMetal.asm                    
======================================================================

--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to