diff --git a/CMakeLists.txt b/CMakeLists.txt index 12ae89e9..2f937cbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # # srecord - Manipulate EPROM load files -# Copyright (C) 2018 - 2022 Scott Finneran +# Copyright (C) 2018 - 2023 Scott Finneran # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -20,6 +20,9 @@ cmake_minimum_required(VERSION 3.22) project(srecord VERSION "1.65") set(CMAKE_BUILD_TYPE Release) +# Generate compile_commands.json for use by RTags, clang tools etc. +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # Headers are all relative to project root include_directories(./) diff --git a/cspell.config.yaml b/cspell.config.yaml index cac07d34..39e54134 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -81,6 +81,7 @@ flagWords: # Some may be fixed by using better variable names in the code. words: - ABBE + - ABCDEFGHIJKLMNOPQRSTUVWXY - abbrev - abchp - ADCCP @@ -240,6 +241,7 @@ words: - sortflag - spasmle - sprintf + - stringf - stuvwxyz - substr - tekext