Skip to content

Commit

Permalink
Version cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CURTLab committed Mar 26, 2024
1 parent dd721d4 commit da8987c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions BleedThroughCorrection/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ include_directories("../common" "../widgets")
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../common ${CMAKE_CURRENT_BINARY_DIR}/common)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../widgets ${CMAKE_CURRENT_BINARY_DIR}/widgets)

set(RELEASE_VERSION OFF CACHE BOOL "Build as release version (No test paths)")

if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_executable(${CMAKE_PROJECT_NAME}
MANUAL_FINALIZATION
Expand Down
2 changes: 1 addition & 1 deletion BleedThroughCorrection/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ MainWindow::MainWindow(QWidget *parent)
}
});

setWindowTitle(tr("Bleed-Through Correction r%1").arg(GIT_REVISION));
setWindowTitle("Bleed-Through Correction " APP_VERSION);

m_ui->buttonRender->setEnabled(false);
m_ui->buttonCorrect->setEnabled(false);
Expand Down
2 changes: 1 addition & 1 deletion common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set (PROJECT_SOURCES
)

if(RELEASE_VERSION)
set(BUILD_VERSION 0)
set(BUILD_VERSION 0x00000100)
set(BUILD_BRANCH "release")
set(BUILD_APP_VER "v0.1")
else(RELEASE_VERSION)
Expand Down

0 comments on commit da8987c

Please sign in to comment.