Skip to content

Commit 2f27272

Browse files
authored
Merge pull request #320 from calband/prep_v3.6.0
Prep v3.6.0
2 parents 1afd986 + 1fe3a5e commit 2f27272

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+173
-102
lines changed

CMakeLists.txt

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -177,22 +177,13 @@ file (
177177

178178
file (
179179
GLOB CalChartResources
180-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/*.xbm"
181-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/*.icns"
182-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/*.ico"
183-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/*.png"
184-
)
185-
186-
file (
187-
GLOB CalChartImages
188-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/image/*"
180+
"${CMAKE_CURRENT_SOURCE_DIR}/resources/*"
189181
)
190182

191183
source_group(
192184
"Resources" FILES
193185
${CalChartDocs}
194186
${CalChartResources}
195-
${CalChartImages}
196187
)
197188

198189
add_executable (
@@ -201,7 +192,6 @@ add_executable (
201192
${CalChartHeaders}
202193
${CalChartDocs}
203194
${CalChartResources}
204-
${CalChartImages}
205195
"${CMAKE_CURRENT_SOURCE_DIR}/calchart.rc"
206196
)
207197

@@ -212,7 +202,7 @@ install (
212202
)
213203

214204

215-
set(AllResources ${CalChartDocs} ${CalChartResources} ${CalChartImages})
205+
set(AllResources ${CalChartDocs} ${CalChartResources})
216206

217207
set_target_properties (
218208
CalChart PROPERTIES
@@ -284,7 +274,7 @@ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS")
284274
add_custom_command (
285275
TARGET CalChart POST_BUILD
286276
COMMAND ${CMAKE_COMMAND} -E copy_directory
287-
"${CMAKE_CURRENT_SOURCE_DIR}/resources/" $<TARGET_FILE_DIR:CalChart>
277+
"${CMAKE_CURRENT_SOURCE_DIR}/resources" $<TARGET_FILE_DIR:CalChart>/resources
288278
)
289279

290280
add_custom_command (
@@ -306,9 +296,9 @@ install (
306296
)
307297

308298
install (
309-
FILES ${CalChartImages}
310-
DESTINATION image
311-
COMPONENT Images
299+
FILES ${CalChartResources}
300+
DESTINATION resources
301+
COMPONENT Resources
312302
)
313303

314304
# Installer section
@@ -320,7 +310,7 @@ include (InstallRequiredSystemLibraries)
320310
set (CPACK_PACKAGE_NAME CalChart)
321311
set (CPACK_ARCHIVE_COMPONENT_INSTALL ON)
322312
if (MSVC)
323-
set (CPACK_COMPONENTS_ALL applications Docs Images)
313+
set (CPACK_COMPONENTS_ALL applications Docs Resources)
324314
else ()
325315
set (CPACK_COMPONENTS_ALL applications)
326316
endif ()

README.md

Lines changed: 28 additions & 0 deletions

RELEASE_INSTRUCTIONS.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Checklist
88

99
How to release calchart:
1010

11-
The current calchart version is 3.5.4. In all commands below, substitute that number for $CCVER (meaning when you read $CCVER, type 3.5.4)
11+
The current calchart version is 3.6.0. In all commands below, substitute that number for $CCVER (meaning when you read $CCVER, type 3.6.0)
1212

1313
0.1 Increment the CalChart_VERSION in CMakeLists.txt to CCVER
1414

@@ -24,15 +24,15 @@ For windows:
2424
w1.1 Follow the instructions in README-win.txt
2525

2626
w1.1.1 Copy readme to build-win:
27-
awk 'sub("$", "\r")' README.md > build-win/README.txt
27+
awk 'sub("$", "\r")' README.md > build-windows/README.txt
2828

2929
w1.2 Install Nullsoft Scriptable Install System
3030
We've configured CMake to use NSIS to do installations.
3131
https://sourceforge.net/projects/nsis/
3232

3333
w1.3 Build the setup.exe installer:
3434
Compile the ALL_BUILD target for Release by selecting the ALL_BUILD in the CMakePredefinedTargets and Build->Build ALL_BUILD.
35-
Compile the INSTALL target for Release by selecting the INSTALL in the CMakePredefinedTargets and Build->Build INSTALL.
35+
Compile the INSTALL target for Release by selecting the PACKAGE in the CMakePredefinedTargets and Build->Build PACKAGE.
3636

3737
The final product is CalChart-$CCVER.exe
3838

@@ -58,14 +58,14 @@ The final product is build/CalChart-$CCVER.dmg
5858
---
5959

6060
2. Tag the depot
61-
$ git tag -a v3.5.4 -m "calchart-3.5.4"
62-
$ git push origin v3.5.4
61+
$ git tag -a v3.6.0 -m "calchart-3.6.0"
62+
$ git push origin v3.6.0
6363

6464
3. Go to a temporary directory on your system to recheck at the tag. This is to avoid having any unwanted files
6565
$ cd /tmp
6666
$ git clone --recursive https://github.com/calband/calchart.git calchart
6767
$ cd calchart
68-
$ git checkout v3.5.4
68+
$ git checkout v3.6.0
6969

7070
4. Rebuild the release now that you have the tag (repeat instructions for step 1)
7171

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)