Skip to content

Commit

Permalink
repaired version.h
Browse files Browse the repository at this point in the history
  • Loading branch information
IngmarEckhardt committed Mar 19, 2024
1 parent 67a24ab commit 1f57e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ endif ()

set(NAME "DwarfOS")
set(VERSION_MAJOR 1)
set(VERSION_MINOR 1)
set(VERSION_PATCH 2)
set(VERSION_MINOR 2)
set(VERSION_PATCH 0)
project(${NAME} LANGUAGES C)

option(BUILD_DWARFOS_AS_LIBRARY "Build ${PROJECT_NAME} as a library" OFF)
Expand Down Expand Up @@ -108,7 +108,7 @@ if (DWARF_TEST)
else ()

# generates the version.h in the include folder, containing the String with ProjectName and Version, as in version.h.in
configure_file(version.h.in dwarf-os/version.h @ONLY)
configure_file(version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/dwarf-os/version.h @ONLY)

if (BUILD_DWARFOS_AS_LIBRARY)
add_library(${PROJECT_NAME} STATIC ${SRC_FILES} ${HEADER_FILES})
Expand Down
2 changes: 1 addition & 1 deletion dwarf-os/version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef DWARFOS_VERSION_H_IN
#define DWARFOS_VERSION_H_IN

#define DWARFOS_IDENTSTRING " DwarfOS 1.1.2 setup complete."
#define DWARFOS_IDENTSTRING " DwarfOS 1.2.0 setup complete."

#endif // DWARFOS_VERSION_H_IN

0 comments on commit 1f57e87

Please sign in to comment.