File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ Changes for 2.2.0:
44* Fixed issue #24: License copy in all source and include files.
55* Fixed issue #25: Resource identifier for win32 generator.
66* Fixed issue #26: Relative path in resource files generated by win32 generator.
7+ * Fixed issue #27: Application icon.
78* New feature: Generators generate files with appropriate include guard. Removed all `#pragma once` statements in the code.
89
910Changes for 2.1.0:
Original file line number Diff line number Diff line change 1+ # Set an icon for the application when viewed from File Explorer on Windows
2+ if (WIN32 )
3+ set (ICON_RESOURCE_FILE ${CMAKE_CURRENT_BINARY_DIR} /icon.rc)
4+ file (WRITE ${ICON_RESOURCE_FILE} "main ICON \" ${CMAKE_SOURCE_DIR} /docs/icon.ico\"\n " )
5+ endif ()
6+
17add_executable (bin2cpp
28 ${BIN2CPP_VERSION_HEADER}
39 ${BIN2CPP_CONFIG_HEADER}
10+ ${ICON_RESOURCE_FILE}
411 ArrayGenerator.cpp
512 ArrayGenerator.h
613 BaseGenerator.cpp
You can’t perform that action at this time.
0 commit comments