File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
22
33set (TM_VERSION_MAJOR 5)
44set (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
88file (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)
3838elseif (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)
4042endif ()
4143
4244# Find wxWidgets
Original file line number Diff line number Diff 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+
40503. The built application will be in ` build/bin/TreeMaker.app`
4151
4252Running TreeMaker
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments