Skip to content

Commit

Permalink
Optionally build clangtest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Oct 12, 2016
1 parent 0b24b30 commit f7b4a72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,8 @@ install(FILES ../man/man7/rc.7 ../man/man7/rdm.7 DESTINATION share/man/man7/)
if (NOT RTAGS_NO_ELISP_FILES)
install(FILES ${RTAGS_ELISP_SOURCES} DESTINATION ${RTAGS_ELISP_INSTALL_LOCATION})
endif ()

if (CLANGTEST_ENABLED)
add_executable(clangtest clangtest.c)
target_link_libraries(clangtest ${LIBCLANG_LIBRARIES})
endif ()

0 comments on commit f7b4a72

Please sign in to comment.