diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/windows/package-helpers | 10 | ||||
-rw-r--r-- | packaging/windows/toolchain.cmake.example | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/packaging/windows/package-helpers b/packaging/windows/package-helpers index de953149..a451f573 100644 --- a/packaging/windows/package-helpers +++ b/packaging/windows/package-helpers @@ -22,6 +22,14 @@ # - MANALIBS -- the directory containing the dlls copied into the # windows installer. Default is using the last directory in the # toolchains SET(CMAKE_FIND_ROOT_PATH +# +# Also, please note that the untgz nsis Plugins is needed to create +# an installer. +# The default nsis Plugins folder in most Linux distros is: +# in /usr/share/nsis/Plugins/ +# +# The default folder to use the toolchain in most Linux distros is: +# /usr/i586msvc-mingw32/ # MANA_BASE should point to the top directory of the source tree if [ -z "$MANA_BASE" ]; then @@ -110,4 +118,4 @@ mana-build-win32-installer(){ mana-nuke-cmake-stuff(){ find $MANA_BASE -name CMakeFiles -type d -exec rm -Rf '{}' \; 2>/dev/null find $MANA_BASE -name CMakeCache.txt -type f -exec rm '{}' \; 2>/dev/null -}
\ No newline at end of file +} diff --git a/packaging/windows/toolchain.cmake.example b/packaging/windows/toolchain.cmake.example index 0e99bd37..707246d0 100644 --- a/packaging/windows/toolchain.cmake.example +++ b/packaging/windows/toolchain.cmake.example @@ -9,9 +9,14 @@ ENDIF() SET(CMAKE_C_COMPILER ${TOOLCHAIN}gcc) SET(CMAKE_CXX_COMPILER ${TOOLCHAIN}g++) +# which rc compiler to use +SET(CMAKE_RC_COMPILER ${TOOLCHAIN}windres) + # here is the target environment located # the directories specified here should contain two directories, # 'include' for the headers, 'lib' for dlls and .a files +# For instance, the mingw32 headers can be installed at: +# /usr/i586-mingw32msvc/ SET(CMAKE_FIND_ROOT_PATH /build/mingw32 /build/tmw-libs ) # adjust the default behaviour of the FIND_XXX() commands: |