Skip to content

Commit

Permalink
STYLE: Use lowercase CudaCommon_VERSION variables
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGandel committed Dec 20, 2024
1 parent e176586 commit fc4cfa8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ endforeach()
project(CudaCommon)

## CudaCommon Version
set(CUDACOMMON_VERSION_MAJOR "2")
set(CUDACOMMON_VERSION_MINOR "0")
set(CUDACOMMON_VERSION_PATCH "0")
set(CUDACOMMON_VERSION_STRING "${CUDACOMMON_VERSION_MAJOR}.${CUDACOMMON_VERSION_MINOR}")
set(CudaCommon_VERSION_MAJOR "2")
set(CudaCommon_VERSION_MINOR "0")
set(CudaCommon_VERSION_PATCH "0")
set(CudaCommon_VERSION_STRING "${CudaCommon_VERSION_MAJOR}.${CudaCommon_VERSION_MINOR}")

#=========================================================
# Installation variables
Expand Down Expand Up @@ -51,10 +51,10 @@ set(CudaCommon_EXPORT_CODE_BUILD "
set(CudaCommon_SOURCE_DIR ${CudaCommon_SOURCE_DIR})
# Also pass CudaCommon version
set(CUDACOMMON_VERSION_MAJOR ${CUDACOMMON_VERSION_MAJOR})
set(CUDACOMMON_VERSION_MINOR ${CUDACOMMON_VERSION_MINOR})
set(CUDACOMMON_VERSION_PATCH ${CUDACOMMON_VERSION_PATCH})
set(CUDACOMMON_VERSION_STRING ${CUDACOMMON_VERSION_STRING})
set(CudaCommon_VERSION_MAJOR ${CudaCommon_VERSION_MAJOR})
set(CudaCommon_VERSION_MINOR ${CudaCommon_VERSION_MINOR})
set(CudaCommon_VERSION_PATCH ${CudaCommon_VERSION_PATCH})
set(CudaCommon_VERSION_STRING ${CudaCommon_VERSION_STRING})
")

if(NOT ITK_SOURCE_DIR)
Expand Down
8 changes: 4 additions & 4 deletions cudaCommonConfiguration.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef __cudaCommonConfiguration_h
#define __cudaCommonConfiguration_h

#define CUDACOMMON_VERSION_MAJOR @CUDACOMMON_VERSION_MAJOR@
#define CUDACOMMON_VERSION_MINOR @CUDACOMMON_VERSION_MINOR@
#define CUDACOMMON_VERSION_PATCH @CUDACOMMON_VERSION_PATCH@
#define CUDACOMMON_VERSION_STRING "@CUDACOMMON_VERSION_STRING@"
#define CudaCommon_VERSION_MAJOR @CudaCommon_VERSION_MAJOR@
#define CudaCommon_VERSION_MINOR @CudaCommon_VERSION_MINOR@
#define CudaCommon_VERSION_PATCH @CudaCommon_VERSION_PATCH@
#define CudaCommon_VERSION_STRING "@CudaCommon_VERSION_STRING@"

#endif

0 comments on commit fc4cfa8

Please sign in to comment.