Skip to content

Commit a582e89

Browse files
committed
Added icon for Mozart launcher on Windows
Just to give the shortcuts a better look...
1 parent e2df241 commit a582e89

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ if(MINGW)
3636

3737
set(BOOST_ROOT "${MINGW_ROOT}"
3838
CACHE PATH "Path where Boost is installed")
39-
39+
40+
# Configuration for resources files
41+
set(CMAKE_RC_COMPILER_INIT windres)
42+
enable_language(RC)
43+
set(CMAKE_RC_COMPILE_OBJECT
44+
"<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>")
4045
else()
4146
set(DEFAULT_MOZART_GENERATOR_FLAGS "")
4247
endif()

opi/emacs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ if(NOT WIN32)
5050
else() # WIN32
5151
add_executable(oz "windows/oz.cc" "windows/panic.cc" "windows/getenv.cc"
5252
"windows/path.cc" "windows/initenv.cc" "windows/makecmd.cc"
53-
"windows/ppid.cc" "windows/process.cc" "windows/registry.cc")
53+
"windows/ppid.cc" "windows/process.cc" "windows/registry.cc" "windows/oz.rc")
5454
install(TARGETS oz DESTINATION bin)
5555
endif()

opi/emacs/windows/oz.ico

38.5 KB
Binary file not shown.

opi/emacs/windows/oz.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
101 ICON "oz.ico"

0 commit comments

Comments
 (0)