I believe the correct form is: set_target_properties(example PROPERTIES CXX_CLANG_TIDY "${path_to_tidy} -some -args")
On Wed, Jul 20, 2016 at 9:02 AM, Theodoros Theodoridis <theodoridi...@gmail.com> wrote: > Hello everyone, > > I am trying to use the new <LANG>_CLANG_TIDY property but I can't figure > out the proper syntax. How can I specify the checks I want? > > I tried setting the checks in set_target_properties(target PROPERTIES > CXX_CLANG_TIDY "checks to be performed") but cmake would complain with > "wrong number of arguments". > > I would appreciate any help. > > Thanks, > Theodor > > -- > > 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 -- 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