Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Feb 23, 2024
1 parent fe49800 commit fd7d767
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ endif()

message("Found FRIClient of version: " ${FRICLIENT_VERSION})

# create version header
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/friVersion.h.in ${CMAKE_CURRENT_BINARY_DIR}/${FRIClient_SDK_NAME}/include/friVersion.h
)

#################################
# define FRIClient library target
#################################
Expand Down
7 changes: 7 additions & 0 deletions friVersion.h.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef FRI_VERSION_H
#define FRI_VERSION_H

#define FRICLIENT_VERSION_MAJOR @FRICLIENT_VERSION_MAJOR@
#define FRICLIENT_VERSION_MINOR @FRICLIENT_VERSION_MINOR@

#endif // FRI_VERSION_H

0 comments on commit fd7d767

Please sign in to comment.