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
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake