On Tue, Jul 2, 2019 at 2:48 PM Robert Maynard <[email protected]>
wrote:
> get_target_property(source_files <target> SOURCES)
> set_source_files_properties(${source_files} PROPERTIES LANGUAGE CUDA)
>
Thanks, that'll work for the time being, I can put this into a
function/macro and it'll look alright.
--Kai
--
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:
https://cmake.org/mailman/listinfo/cmake