summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-03-16 15:42:48 +0100
committerunknown <knielsen@mysql.com>2006-03-16 15:42:48 +0100
commit40eb9b875cc01318a3e34af0ace99217308ccd24 (patch)
treeb935d82c6453375d0d9e789b5583dcc8d21d5c07 /extra
parent5c9359c31ec4c7a4f2b1351ddc7d1b7759f2632b (diff)
downloadmariadb-git-40eb9b875cc01318a3e34af0ace99217308ccd24.tar.gz
CMake Windows comp_error dependency fix after last push.
extra/cmakelists.txt: Another attempt at fixing the comp_err/GenError dependency problem. sql/cmakelists.txt: Another attempt at fixing the comp_err/GenError dependency problem. client/cmakelists.txt: Another attempt at fixing the comp_err/GenError dependency problem. libmysql/cmakelists.txt: Another attempt at fixing the comp_err/GenError dependency problem. server-tools/instance-manager/cmakelists.txt: Another attempt at fixing the comp_err/GenError dependency problem.
Diffstat (limited to 'extra')
-rw-r--r--extra/cmakelists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/cmakelists.txt b/extra/cmakelists.txt
index 0f7005da079..50e0f04eb14 100644
--- a/extra/cmakelists.txt
+++ b/extra/cmakelists.txt
@@ -16,8 +16,11 @@ ADD_CUSTOM_COMMAND(OUTPUT ${PROJECT_SOURCE_DIR}/include/mysqld_error.h
--name_file=${PROJECT_SOURCE_DIR}/include/mysqld_ername.h
--state_file=${PROJECT_SOURCE_DIR}/include/sql_state.h
--in_file=${PROJECT_SOURCE_DIR}/sql/share/errmsg.txt
- MAIN_DEPENDENCY comp_err
- DEPENDS ${PROJECT_SOURCE_DIR}/sql/share/errmsg.txt)
+ DEPENDS comp_err ${PROJECT_SOURCE_DIR}/sql/share/errmsg.txt)
+
+ADD_CUSTOM_TARGET(GenError
+ ALL
+ DEPENDS ${PROJECT_SOURCE_DIR}/include/mysqld_error.h)
ADD_EXECUTABLE(my_print_defaults my_print_defaults.c)
TARGET_LINK_LIBRARIES(my_print_defaults strings mysys dbug taocrypt odbc32 odbccp32 wsock32)