Skip to content

Commit

Permalink
Update to better name files
Browse files Browse the repository at this point in the history
  • Loading branch information
jongough committed May 13, 2022
1 parent 547e312 commit ad213be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ set(LONG_DESCRIPTION "testplugin Plugin is used to test out the ODraw API and de

set(VERSION_MAJOR "1")
set(VERSION_MINOR "0")
set(VERSION_PATCH "203")
set(VERSION_PATCH "204")
set(VERSION_TWEAK "0")
set(VERSION_DATE "08/05/2022") # DD/MM/YYYY format
set(VERSION_DATE "13/05/2022") # DD/MM/YYYY format
set(OCPN_MIN_VERSION "ov50")
set(OCPN_API_VERSION_MAJOR "1")
set(OCPN_API_VERSION_MINOR "16")
Expand Down
6 changes: 4 additions & 2 deletions cmake/PluginConfigure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ else()
endif(MINGW)
endif()

message(STATUS "${CMLOC}ARCH: ${ARCH}")

if("${PKG_BUILD_TARGET}" STREQUAL "")
set(PKG_BUILD_TARGET "${PKG_TARGET}")
set(PKG_TARGET_BUILD "-${PKG_BUILD_TARGET}")
Expand Down Expand Up @@ -222,10 +224,11 @@ else()
endif(NOT WIN32 AND NOT APPLE AND NOT QT_ANDROID)

if(NOT "${PKG_TARGET_GTK}" STREQUAL "")
set(PKG_TARGET_GTK "-${PKG_TARGET_GTK}")
set(PKG_BUILD_GTK "-${PKG_TARGET_GTK}")
set(PKG_TARGET_GTK "-${PKG_TARGET_GTK}")
endif()

message(STATUS "${CMLOC}PKG_NVR: ${PKG_NVR}, PKG_TARGET: ${PKG_TARGET}, ARCH: ${ARCH}, PKG_TARGET_WX_VER: ${PKG_TARGET_WX_VER}, PKG_BUILD_GTK: ${PKG_BUILD_GTK}, PKG_TARGET_VERSION: ${PKG_TARGET_VERSION}")
if(DEFINED ENV{OCPN_TARGET})
message(STATUS "${CMLOC}OCPN_TARGET defined: $ENV{OCPN_TARGET}")
if(OCPN_FLATPAK_CONFIG OR OCPN_FLATPAK_BUILD OR MINGW)
Expand Down Expand Up @@ -253,7 +256,6 @@ message(STATUS "${CMLOC}PKG_BUILD_TARGET: ${PKG_BUILD_TARGET}")
message(STATUS "${CMLOC}PKG_BUILD_GTK: ${PKG_TARGET_GTK}")
message(STATUS "${CMLOC}PKG_BUILT_WITH_GTK: ${PKG_BUILT_WITH_GTK}")
message(STATUS "${CMLOC}*.in files generated in ${CMAKE_CURRENT_BINARY_DIR}")
message(STATUS "${CMLOC}PACKAGING_NAME_XML: ${PACKAGING_NAME_XML}")
configure_file(${PROJECT_SOURCE_DIR}/cmake/in-files/plugin.xml.in ${CMAKE_CURRENT_BINARY_DIR}/${PACKAGING_NAME_XML}.xml)
configure_file(${PROJECT_SOURCE_DIR}/cmake/in-files/pkg_version.sh.in ${CMAKE_CURRENT_BINARY_DIR}/pkg_version.sh)
configure_file(${PROJECT_SOURCE_DIR}/cmake/in-files/cloudsmith-upload.sh.in ${CMAKE_CURRENT_BINARY_DIR}/cloudsmith-upload.sh @ONLY)
Expand Down
4 changes: 2 additions & 2 deletions cmake/PluginSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ else()
endif()

message(STATUS "${CMLOC}OCPN_FLATPAK_CONFIG: ${OCPN_FLATPAK_CONFIG}, OCPN_FLATPAK_BUILD: ${OCPN_FLATPAK_BUILD}, UNIX: ${UNIX}")
set(PKG_TARGET_WX_VER "")
unset(PKG_TARGET_WX_VER)
if(OCPN_FLATPAK_CONFIG OR OCPN_FLATPAK_BUILD)
set(PKG_TARGET "flatpak")
set(PKG_TARGET_VERSION "${SDK_VER}") # As of flatpak/*yaml
message(STATUS "${CMLOC}PKG_TARGET_VERSION: ${PKG_TARGET_VERSION}")
if( NOT "${WX_VER}" STREQUAL "" )
set(PKG_TARGET_WX_VER "-${WX_VER}")
else()
set(PKG_TARGET_WX_VER "")
unset(PKG_TARGET_WX_VER)
endif()
message(STATUS "${CMLOC}PKG_TARGET_WX_VER: ${PKG_TARGET_WX_VER}")
elseif(MINGW)
Expand Down

0 comments on commit ad213be

Please sign in to comment.