Skip to content

Commit 5b5101c

Browse files
committed
Release v1.0
1 parent ff24ec0 commit 5b5101c

27 files changed

+3166
-2
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ x86/
2323
[Aa][Rr][Mm]/
2424
[Aa][Rr][Mm]64/
2525
bld/
26-
[Bb]in/
2726
[Oo]bj/
2827
[Ll]og/
29-
28+
*.o
29+
*.so
30+
*.out
31+
**/build
3032
# Visual Studio 2015/2017 cache/options directory
3133
.vs/
3234
# Uncomment if you have tasks that create the project's static files in wwwroot

docs/RELEASES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
## v1.0 - 2021-05-15
5+
### Added
6+
- Added DBC file version ("VERSION "x.x"") tag parsing
7+
- Added dbc version info in: fmon, main and util drivers
8+
- Added codegen lib version file
9+
10+
### Changed
11+
- Generate interface takes DbcMessageList instance which has version info
12+
13+
### Fixed
14+
- Fixed some warnings

src/CMakeLists.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cmake_minimum_required(VERSION 3.5)
2+
3+
project(dbcscanner-lib LANGUAGES CXX)
4+
5+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
6+
set(CMAKE_AUTOUIC ON)
7+
set(CMAKE_AUTOMOC ON)
8+
set(CMAKE_AUTORCC ON)
9+
set(CMAKE_CXX_STANDARD 17)
10+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
11+
12+
add_library(dbcscanner-lib SHARED
13+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/c-main-generator.cpp
14+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/c-util-generator.cpp
15+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/conditional-tree.cpp
16+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/c-sigprinter.cpp
17+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/filewriter.cpp
18+
${CMAKE_CURRENT_SOURCE_DIR}/codegen/fs-creator.cpp
19+
${CMAKE_CURRENT_SOURCE_DIR}/helpers/formatter.cpp
20+
${CMAKE_CURRENT_SOURCE_DIR}/parser/dbclineparser.cpp
21+
${CMAKE_CURRENT_SOURCE_DIR}/parser/dbcscanner.cpp
22+
)
23+
24+
25+
target_compile_definitions(dbcscanner-lib PRIVATE DBCSCANNERLIB_LIBRARY)

0 commit comments

Comments
 (0)