Skip to content

Commit 86d2166

Browse files
committed
v5.1.1m-beta
Added release flags and updated version
1 parent cc70088 commit 86d2166

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
22

33
set(TM_VERSION_MAJOR 5)
44
set(TM_VERSION_MINOR 1)
5-
set(TM_VERSION_RELEASE 0)
5+
set(TM_VERSION_RELEASE 2)
66

77
# Set project name and version from tmVersion.h
88
file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/Source/tmVersion.h" version_lines
@@ -37,6 +37,8 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Development")
3737
add_compile_definitions(TMDEBUG)
3838
elseif(CMAKE_BUILD_TYPE STREQUAL "Profile")
3939
add_compile_definitions(TMPROFILE)
40+
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
41+
add_definitions(-DNDEBUG -DWX_SUPPRESS_SIZER_FLAGS_CHECK)
4042
endif()
4143

4244
# Find wxWidgets

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ Building on macOS
3737
make -j8 (or however many threads)
3838
```
3939

40+
Or release version:
41+
42+
```sh
43+
mkdir build
44+
cd build
45+
cmake -DCMAKE_BUILD_TYPE=Release ..
46+
make -j8 (or however many threads)
47+
```
48+
49+
4050
3. The built application will be in `build/bin/TreeMaker.app`
4151

4252
Running TreeMaker

Source/tmVersion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ needs to be changed.
1717
*****/
1818

1919
#define TM_VERSION_MAJOR 5
20-
#define TM_VERSION_MINOR 1M
20+
#define TM_VERSION_MINOR 1.1M
2121
#define TM_VERSION_RELEASE beta
22-
#define TM_VERSION_BUILD 20250130
22+
#define TM_VERSION_BUILD 20250203
2323

2424
/******************************************************************************/
2525

0 commit comments

Comments
 (0)