On 01/29/2015 03:12 AM, Brian Smith wrote: > I don't see how to make CMake execute yasm -M -o <x>.obj <x>.asm > $DEP_FILE > and then execute yasm -o <x>.obj <x>.asm to do the actual assembly.
The CMAKE_<LANG>_COMPILE_OBJECT value can be set to a list of multiple strings. Each will be invoked in order. I haven't tested this though. Also it would have to be set up in a generator-specific manner for Ninja. > But, when I execute ninja and it executes the rule, it never provides > a value for $DEP_FILE. Instead, the executed command looks like this: Please try out this commit: Ninja: Use "deps = msvc" only for C and CXX http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2596f95e Then rebase your changes on it. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
