summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authoriggy@recycle.(none) <>2007-04-23 15:41:24 -0400
committeriggy@recycle.(none) <>2007-04-23 15:41:24 -0400
commit7a358c4b5c4ff9ea26a3ebe355dd99eedc04767e (patch)
tree20f198c8c6f8c6d19d7e0fae61409ab144e819dd /myisam
parent1561c39c5d91370178999584ddd30d7314ce1a8a (diff)
downloadmariadb-git-7a358c4b5c4ff9ea26a3ebe355dd99eedc04767e.tar.gz
Bug#24732 Executables do not include Vista manifests
- Added script to generate application specific manifest. - Added new CMake MACRO to add customer build events which will first generate a manifest and then embeds that manifest into an executable.
Diffstat (limited to 'myisam')
-rwxr-xr-xmyisam/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/myisam/CMakeLists.txt b/myisam/CMakeLists.txt
index 28d06254e8a..94a7ffc9952 100755
--- a/myisam/CMakeLists.txt
+++ b/myisam/CMakeLists.txt
@@ -12,6 +12,7 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+INCLUDE("${PROJECT_SOURCE_DIR}/win/mysql_manifest.cmake")
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX")
@@ -39,3 +40,10 @@ TARGET_LINK_LIBRARIES(myisamlog myisam mysys dbug strings zlib wsock32)
ADD_EXECUTABLE(myisampack myisampack.c)
TARGET_LINK_LIBRARIES(myisampack myisam mysys dbug strings zlib wsock32)
+
+IF(EMBED_MANIFESTS)
+ MYSQL_EMBED_MANIFEST("myisam_ftdump" "asInvoker")
+ MYSQL_EMBED_MANIFEST("myisamchk" "asInvoker")
+ MYSQL_EMBED_MANIFEST("myisamlog" "asInvoker")
+ MYSQL_EMBED_MANIFEST("myisampack" "asInvoker")
+ENDIF(EMBED_MANIFESTS)