Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
feb4776e
Commit
feb4776e
authored
Apr 25, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV233 - Support Wix3.6 for MSI
parent
ed4ead3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
win/packaging/CMakeLists.txt
win/packaging/CMakeLists.txt
+1
-0
win/packaging/ca/CMakeLists.txt
win/packaging/ca/CMakeLists.txt
+14
-2
No files found.
win/packaging/CMakeLists.txt
View file @
feb4776e
...
@@ -24,6 +24,7 @@ FIND_PATH(WIX_DIR heat.exe
...
@@ -24,6 +24,7 @@ FIND_PATH(WIX_DIR heat.exe
"$ENV{ProgramFiles}/Windows Installer XML v3/bin"
"$ENV{ProgramFiles}/Windows Installer XML v3/bin"
"$ENV{ProgramFiles}/Windows Installer XML v3.5/bin"
"$ENV{ProgramFiles}/Windows Installer XML v3.5/bin"
"$ENV{ProgramFiles}/Windows Installer XML v3.6/bin"
"$ENV{ProgramFiles}/Windows Installer XML v3.6/bin"
"$ENV{WIX}/bin"
)
)
SET
(
CPACK_WIX_PACKAGE_BASE_NAME
"MariaDB"
)
SET
(
CPACK_WIX_PACKAGE_BASE_NAME
"MariaDB"
)
...
...
win/packaging/ca/CMakeLists.txt
View file @
feb4776e
...
@@ -22,28 +22,40 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql)
...
@@ -22,28 +22,40 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/sql)
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
IF
(
CMAKE_SIZEOF_VOID_P EQUAL 8
)
SET
(
WIX_ARCH_SUFFIX
"_x64"
)
SET
(
WIX_ARCH_SUFFIX
"_x64"
)
SET
(
WIX36_ARCH_SUFFIX
"x64"
)
ELSE
()
ELSE
()
SET
(
WIX_ARCH_SUFFIX
)
SET
(
WIX_ARCH_SUFFIX
)
SET
(
WIX36_ARCH_SUFFIX
"x86"
)
ENDIF
()
ENDIF
()
IF
(
MSVC_VERSION EQUAL 1400
)
IF
(
MSVC_VERSION EQUAL 1400
)
SET
(
WIX35_MSVC_SUFFIX
"_2005"
)
SET
(
WIX35_MSVC_SUFFIX
"_2005"
)
ELSEIF
(
MSVC_VERSION EQUAL 1500
)
ELSEIF
(
MSVC_VERSION EQUAL 1500
)
SET
(
WIX35_MSVC_SUFFIX
"_2008"
)
SET
(
WIX35_MSVC_SUFFIX
"_2008"
)
SET
(
WIX36_MSVC_SUFFIX
"VS2008"
)
ELSEIF
(
MSVC_VERSION EQUAL 1600
)
ELSEIF
(
MSVC_VERSION EQUAL 1600
)
SET
(
WIX35_MSVC_SUFFIX
"_2010"
)
SET
(
WIX35_MSVC_SUFFIX
"_2010"
)
SET
(
WIX36_MSVC_SUFFIX
"VS2010"
)
ELSE
()
ELSE
()
# When next VS is out, add the correct version here
# When next VS is out, add the correct version here
MESSAGE
(
FATAL_ERROR
"Unknown VS version"
)
MESSAGE
(
FATAL_ERROR
"Unknown VS version"
)
ENDIF
()
ENDIF
()
INCLUDE_DIRECTORIES
(
${
WIX_DIR
}
/../SDK/
${
WIX36_MSVC_SUFFIX
}
/inc
)
FIND_LIBRARY
(
WIX_WCAUTIL_LIBRARY
FIND_LIBRARY
(
WIX_WCAUTIL_LIBRARY
NAMES wcautil
${
WIX_ARCH_SUFFIX
}
wcautil
${
WIX35_MSVC_SUFFIX
}${
WIX_ARCH_SUFFIX
}
NAMES wcautil
${
WIX_ARCH_SUFFIX
}
wcautil
${
WIX35_MSVC_SUFFIX
}${
WIX_ARCH_SUFFIX
}
HINTS
${
WIX_DIR
}
/../SDK/lib
)
wcautil
PATHS
${
WIX_DIR
}
/../SDK/lib
${
WIX_DIR
}
/../SDK/
${
WIX36_MSVC_SUFFIX
}
/lib/
${
WIX36_ARCH_SUFFIX
}
)
FIND_LIBRARY
(
WIX_DUTIL_LIBRARY
FIND_LIBRARY
(
WIX_DUTIL_LIBRARY
NAMES dutil
${
WIX_ARCH_SUFFIX
}
dutil
${
WIX35_MSVC_SUFFIX
}${
WIX_ARCH_SUFFIX
}
NAMES dutil
${
WIX_ARCH_SUFFIX
}
dutil
${
WIX35_MSVC_SUFFIX
}${
WIX_ARCH_SUFFIX
}
PATHS
${
WIX_DIR
}
/../SDK/lib
)
dutil
PATHS
${
WIX_DIR
}
/../SDK/lib
${
WIX_DIR
}
/../SDK/
${
WIX36_MSVC_SUFFIX
}
/lib/
${
WIX36_ARCH_SUFFIX
}
)
ADD_VERSION_INFO
(
wixca SHARED WIXCA_SOURCES
)
ADD_VERSION_INFO
(
wixca SHARED WIXCA_SOURCES
)
ADD_LIBRARY
(
wixca SHARED EXCLUDE_FROM_ALL
${
WIXCA_SOURCES
}
)
ADD_LIBRARY
(
wixca SHARED EXCLUDE_FROM_ALL
${
WIXCA_SOURCES
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment