Skip to content

Commit

Permalink
Move Dyninst version strings to base CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Dec 22, 2022
1 parent 91a6cfe commit 7994763
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ if(CMAKE_VERSION VERSION_EQUAL "3.19.0")
message(FATAL_ERROR "Dyninst cannot use CMake version 3.19.0")
endif()

set(DYNINST_MAJOR_VERSION 12)
set(DYNINST_MINOR_VERSION 2)
set(DYNINST_PATCH_VERSION 1)

set(SOVERSION "${DYNINST_MAJOR_VERSION}.${DYNINST_MINOR_VERSION}")
set(LIBVERSION "${SOVERSION}.${DYNINST_PATCH_VERSION}")
set(DYNINST_VERSION "${LIBVERSION}")

project(Dyninst)

set(DYNINST_ROOT ${PROJECT_SOURCE_DIR})
Expand Down
8 changes: 0 additions & 8 deletions cmake/DyninstLibrary.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
set(DYNINST_MAJOR_VERSION 12)
set(DYNINST_MINOR_VERSION 2)
set(DYNINST_PATCH_VERSION 1)

set(SOVERSION "${DYNINST_MAJOR_VERSION}.${DYNINST_MINOR_VERSION}")
set(LIBVERSION "${SOVERSION}.${DYNINST_PATCH_VERSION}")
set(DYNINST_VERSION "${LIBVERSION}")

if(LIGHTWEIGHT_SYMTAB)
set(SYMREADER symLite)
else()
Expand Down

0 comments on commit 7994763

Please sign in to comment.