Improve misleading comments.

(the assembler is not really tested)

Alex
This commit is contained in:
Alex Neundorf 2010-09-25 21:00:52 +02:00
parent e1fc9b902a
commit 7b337ac8e2
3 changed files with 13 additions and 12 deletions

View File

@ -13,10 +13,10 @@
# License text for the above reference.) # License text for the above reference.)
# This file is used by EnableLanguage in cmGlobalGenerator to # This file is used by EnableLanguage in cmGlobalGenerator to
# determine that that selected ASM-ATT compiler can actually compile # determine that the selected ASM-ATT "compiler" works.
# and link the most basic of programs. If not, a fatal error # For assembler this can only check whether the compiler has been found,
# is set and cmake stops processing commands and will not generate # because otherwise there would have to be a separate assembler source file
# any makefiles or projects. # for each assembler on every architecture.
SET(ASM_DIALECT "-ATT") SET(ASM_DIALECT "-ATT")
INCLUDE(CMakeTestASMCompiler) INCLUDE(CMakeTestASMCompiler)

View File

@ -13,10 +13,11 @@
# License text for the above reference.) # License text for the above reference.)
# This file is used by EnableLanguage in cmGlobalGenerator to # This file is used by EnableLanguage in cmGlobalGenerator to
# determine that that selected ASM compiler can actually compile # determine that the selected ASM compiler works.
# and link the most basic of programs. If not, a fatal error # For assembler this can only check whether the compiler has been found,
# is set and cmake stops processing commands and will not generate # because otherwise there would have to be a separate assembler source file
# any makefiles or projects. # for each assembler on every architecture.
IF(CMAKE_ASM${ASM_DIALECT}_COMPILER) IF(CMAKE_ASM${ASM_DIALECT}_COMPILER)
SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS 1 CACHE INTERNAL "") SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS 1 CACHE INTERNAL "")
ELSE(CMAKE_ASM${ASM_DIALECT}_COMPILER) ELSE(CMAKE_ASM${ASM_DIALECT}_COMPILER)

View File

@ -13,10 +13,10 @@
# License text for the above reference.) # License text for the above reference.)
# This file is used by EnableLanguage in cmGlobalGenerator to # This file is used by EnableLanguage in cmGlobalGenerator to
# determine that the selected ASM_MASM "compiler" (should be masm or masm64) # determine that the selected ASM_MASM "compiler" (should be masm or masm64)
# can actually "compile" and link the most basic of programs. If not, a # works. For assembler this can only check whether the compiler has been found,
# fatal error is set and cmake stops processing commands and will not generate # because otherwise there would have to be a separate assembler source file
# any makefiles or projects. # for each assembler on every architecture.
SET(ASM_DIALECT "_MASM") SET(ASM_DIALECT "_MASM")
INCLUDE(CMakeTestASMCompiler) INCLUDE(CMakeTestASMCompiler)