diff options
author | unknown <iggy@alf.(none)> | 2007-07-27 11:54:54 -0400 |
---|---|---|
committer | unknown <iggy@alf.(none)> | 2007-07-27 11:54:54 -0400 |
commit | 32cc0694bf6d5c8673f4c270793dedb5a8a8ab1e (patch) | |
tree | 1b6103400a43b502050c807ef0a76b24c1aac155 | |
parent | a34879ebd2c6c02f77a2df080c4696f0039ebffa (diff) | |
download | mariadb-git-32cc0694bf6d5c8673f4c270793dedb5a8a8ab1e.tar.gz |
Bug#30103 CMake build solution does not remove auto-generated resources
- Add CMake rule to remove files.
-rwxr-xr-x | sql/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt index 0cbeb97184f..b0553f622f8 100755 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt @@ -138,6 +138,10 @@ ADD_CUSTOM_COMMAND( ) ADD_DEPENDENCIES(mysqld${MYSQLD_EXE_SUFFIX} gen_lex_hash) +# Remove the auto-generated files as part of 'Clean Solution' +SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES + "lex_hash.h;message.rc;message.h;sql_yacc.h;sql_yacc.cc") + ADD_LIBRARY(udf_example MODULE udf_example.c udf_example.def) ADD_DEPENDENCIES(udf_example strings) TARGET_LINK_LIBRARIES(udf_example wsock32) |