File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,12 @@ if(MINGW)
36
36
37
37
set (BOOST_ROOT "${MINGW_ROOT} "
38
38
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>" )
40
45
else ()
41
46
set (DEFAULT_MOZART_GENERATOR_FLAGS "" )
42
47
endif ()
Original file line number Diff line number Diff line change @@ -50,6 +50,6 @@ if(NOT WIN32)
50
50
else () # WIN32
51
51
add_executable (oz "windows/oz.cc" "windows/panic.cc" "windows/getenv.cc"
52
52
"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" )
54
54
install (TARGETS oz DESTINATION bin)
55
55
endif ()
Original file line number Diff line number Diff line change
1
+ 101 ICON "oz.ico"
You can’t perform that action at this time.
0 commit comments