<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
thx a lot, this works.<br>
<br>
Hendrik Sattler schrieb:
<blockquote cite="mid:48FEDE1C.5050701@hendrik-sattler.de" type="cite">
  <pre wrap="">Gerhard Gappmeier schrieb:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi all,

I want to compile an assembler file with my C sources.

A simple example how to compile this on the command line looks like that:
"gcc cas32test.c cas32.s -o cas32test"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
-------
project(cas C)
enable_language(ASM)
set_property(SOURCE cas32.s PROPERTY LANGUAGE ASM)

add_executable(cas32test cas32test.c cas32.s)
-------

That should be it.

HS

_______________________________________________
CMake mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CMake@cmake.org">CMake@cmake.org</a>
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>

  </pre>
</blockquote>
<br>
<br>
</body>
</html>