diff --git a/cmake/build.cmake b/cmake/build.cmake index 48d05b0..79cf9bb 100644 --- a/cmake/build.cmake +++ b/cmake/build.cmake @@ -18,6 +18,9 @@ include(CheckCXXCompilerFlag) # manger) puts it. set(LIBHAL_SCRIPT_PATH ${CMAKE_CURRENT_LIST_DIR}) +# Generate compile commands for anyone using our libraries. +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # Colored LIBHAL text set(LIBHAL_TITLE "${BoldMagenta}[LIBHAL]:${ColourReset}") diff --git a/conanfile.py b/conanfile.py index cdb55e7..282aaa6 100644 --- a/conanfile.py +++ b/conanfile.py @@ -23,7 +23,7 @@ class libhal_cmake_util_conan(ConanFile): name = "libhal-cmake-util" - version = "4.0.3" + version = "4.0.4" license = "Apache-2.0" homepage = "https://libhal.github.io/libhal-armcortex" description = ("A collection of CMake scripts for ARM Cortex ") @@ -91,4 +91,3 @@ def package_info(self): f"add_build_outputs: {self.options.add_build_outputs}") self.output.info( f"optimize_debug_build: {self.options.optimize_debug_build}") -