[CMake] How to use different assemblers in single build?
Alexander Neundorf
a.neundorf-work at gmx.net
Sat May 12 19:43:58 EDT 2012
On Saturday 12 May 2012, Alexey Istomin wrote:
> >> Thanks a lot, Alex.
> >> I done some experiments. It looks like dsp-asm sources should have a
> >> different file extension? Can CMake select specific asm-compiler depends
> >> on subdir instead of file extesion?
> >
> > Not per directory, but per file.
> > You can use set_source_files_properties(... LANGUAGE ASM_DSP)
> > This should work.
> >
> > Alex
>
> Thanks! set_source_files_properties works fine!
> It seams last question. Is it possible to place
> CMakeASM-DSPInformation.cmake, CMakeDetermineASM-DSPCompiler.cmake and
> CMakeTestASM-DSPCompiler.cmake files inside the project (without copy to
> system usr\share\cmake-2.8.7\Modules)? In this case we don't need to
> explain for users how to add these files to system before build.
Does it work if you set CMAKE_MODULE_PATH to the directory where you put these
files ?
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120513/7497ca7f/attachment.htm>
More information about the CMake
mailing list