Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Generate version.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitigr committed Jan 27, 2022
1 parent 91317d7 commit 127ed85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ endif()
# Targets
# ------------------------------------------------------------------------------

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/src/common/version.hpp.in"
"${CMAKE_CURRENT_SOURCE_DIR}/src/common/version.hpp"
@ONLY
NEWLINE_STYLE UNIX)

if(PANDA_TIMESWIPE_FIRMWARE_EMU)
add_compile_definitions(PANDA_TIMESWIPE_FIRMWARE_EMU)
endif()
Expand Down
4 changes: 2 additions & 2 deletions src/common/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#define PANDA_TIMESWIPE_COMMON_VERSION_HPP

namespace panda::timeswipe::version {
constexpr int major{0};
constexpr int minor{1};
constexpr int major{1};
constexpr int minor{2};
constexpr int patch{1};
} // namespace panda::timeswipe::version

Expand Down

0 comments on commit 127ed85

Please sign in to comment.