Bug #30103 CMake build solution does not remove auto-generated resources
Submitted: 27 Jul 2007 15:39 Modified: 2 Aug 2007 20:19
Reporter: Iggy Galarza Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:Windows
Assigned to: Iggy Galarza CPU Architecture:Any

[27 Jul 2007 15:39] Iggy Galarza
Description:
The CMake build solution generates the following resources:
message.rc
message.h
lex_hash.h
sql_yacc.h
sql_yacc.cc

if they are not present.  If they are present, they are not rebuilt.

How to repeat:
Create CMake solution.
Build the Solution.
Clean the Solution.
Check for files listed above.

Suggested fix:
Remove auto generated files as part of the clean solution.
[27 Jul 2007 15:55] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/31716

ChangeSet@1.2480, 2007-07-27 11:54:54-04:00, iggy@alf.(none) +1 -0
  Bug#30103 CMake build solution does not remove auto-generated resources
  - Add CMake rule to remove files.
[27 Jul 2007 21:41] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/31739

ChangeSet@1.2560, 2007-07-27 17:41:34-04:00, iggy@alf.(none) +1 -0
  Bug#30103 CMake build solution does not remove auto-generated resources
  - Add CMake rule to remove files.
  - Manual merge.
[2 Aug 2007 19:13] Bugs System
Pushed into 5.1.21-beta
[2 Aug 2007 19:15] Bugs System
Pushed into 5.0.48
[2 Aug 2007 20:19] Paul DuBois
No changelog entry needed.