diff --git a/.gitignore b/.gitignore index 42168b59..9648517d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ -# typical build location +# symlink to ${mybuilddirectory}/compile_commands.json for LSP +compile_commands.json +# LSP keeps state here +.cache +# typical build directories .build* diff --git a/CMakeLists.txt b/CMakeLists.txt index 29f5bd4b..b4150081 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ xo_toplevel_coverage_config2() xo_toplevel_debug_config2() -set(XO_PROJECT_NAME subsys) +#set(XO_PROJECT_NAME subsys) # ---------------------------------------------------------------- # installing header-only library diff --git a/cmake/subsysConfig.cmake.in b/cmake/subsysConfig.cmake.in index e13a2c54..9c15f36a 100644 --- a/cmake/subsysConfig.cmake.in +++ b/cmake/subsysConfig.cmake.in @@ -1,4 +1,4 @@ @PACKAGE_INIT@ -include("${CMAKE_CURRENT_LIST_DIR}/@XO_PROJECT_NAME@Targets.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") check_required_components("@PROJECT_NAME@")