[Cmake-commits] [cmake-commits] alex committed CMakeASM-ATTInformation.cmake 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Sat Sep 12 02:15:32 EDT 2009


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv20919

Modified Files:
	CMakeASM-ATTInformation.cmake 
Log Message:
Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed

Alex


Index: CMakeASM-ATTInformation.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeASM-ATTInformation.cmake,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CMakeASM-ATTInformation.cmake	5 Nov 2008 23:51:46 -0000	1.2
--- CMakeASM-ATTInformation.cmake	12 Sep 2009 06:15:30 -0000	1.3
***************
*** 2,6 ****
  
  SET(ASM_DIALECT "-ATT")
! SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;S;asm)
  INCLUDE(CMakeASMInformation)
  SET(ASM_DIALECT)
--- 2,8 ----
  
  SET(ASM_DIALECT "-ATT")
! # *.S files are supposed to be preprocessed, so they should not be passed to
! # assembler but should be processed by gcc
! SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;asm)
  INCLUDE(CMakeASMInformation)
  SET(ASM_DIALECT)



More information about the Cmake-commits mailing list