From bf0eddc6088f4704afba5b37dd8fb4edab158138 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 2 Sep 2025 11:51:29 +0200 Subject: [PATCH 1/2] Fixup empty elsif preventing Werror ``` CMake Warning (dev) at CMakeLists.txt:694 (elseif): ELSEIF called with no arguments, it will be skipped. This warning is for project developers. Use -Wno-dev to suppress it. ``` --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e67c55c9f..243ace0f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -691,7 +691,7 @@ include_directories("${PROJECT_BINARY_DIR}/src/") if(MSVC) # treat warnings as errors add_definitions(/WX) -elseif() +else() add_definitions(-Werror) endif() From 9594ab8b957b1fa91e042689a173d3a9b4d90b86 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 2 Sep 2025 11:52:55 +0200 Subject: [PATCH 2/2] Bump to 1.11.0-alpha --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 243ace0f6..0a4f932bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ if(CCACHE_PROGRAM) set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM} CACHE FILEPATH "C compiler cache used") endif() -project(OpenStudioApplication VERSION 1.10.0) +project(OpenStudioApplication VERSION 1.11.0) # Check system info globally so we can use it everywhere after: Has to be done before FindOpenStudioSDK.cmake if(APPLE) @@ -272,7 +272,7 @@ endif() # TODO: Modify the more specific variables as needed to indicate prerelease, etc # Keep in beta in-between release cycles. Set to empty string (or comment out) for official) -set(PROJECT_VERSION_PRERELEASE "") +set(PROJECT_VERSION_PRERELEASE "alpha") # OpenStudio version: Only include Major.Minor.Patch, eg "3.0.0", even if you have a prerelease tag set(OPENSTUDIOAPPLICATION_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")