Skip to content

Commit 21e8504

Browse files
committed
Adding cmake to default output the clang format database file
1 parent 0b51ec7 commit 21e8504

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.16)
22

33
project(dbc VERSION 0.1.1 DESCRIPTION "C++ DBC Parser")
44

5+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
6+
57
# package
68
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
79
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})

0 commit comments

Comments
 (0)