Skip to content

Put integration with clangd behind an option #1552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ message(STATUS "Build date : ${STDEXEC_BUILD_DATE}")
message(STATUS "Build year : ${STDEXEC_BUILD_YEAR}")
message(STATUS)

# Integrate with LLVM/clang tooling
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/clangd_compile_info.cmake)
set(INTEGRATE_CLANG_TOOLING ${STDEXEC_INTEGRATE_CLANG_TOOLING})

if (INTEGRATE_CLANG_TOOLING)
# Integrate with LLVM/clang tooling
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/clangd_compile_info.cmake)
endif()

# Write the version header
rapids_cmake_write_version_file(include/stdexec_version_config.hpp)
Expand Down Expand Up @@ -550,6 +554,7 @@ option(STDEXEC_ENABLE_IO_URING_TESTS "Enable io_uring tests" ${STDEXEC_FOUND_IO_

option(STDEXEC_BUILD_DOCS "Build stdexec documentation" OFF)
option(STDEXEC_BUILD_EXAMPLES "Build stdexec examples" ON)
option(STDEXEC_INTEGRATE_CLANG_TOOLING "Integrate with clang tooling" ON)

# Configure documentation
if(STDEXEC_BUILD_DOCS)
Expand Down