[CMake] How to use different assemblers in single build?
Alexey Istomin
strowil at yandex.ru
Sat May 12 16:42:29 EDT 2012
>> 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.
Best regards,
Alex
More information about the CMake
mailing list