Hi Joerg,
Some more feedback (this time only windows-related).
I get this in VERSION_bin files
===== Compiler flags used (from the 'sql/' subdirectory): =====
File 'sql/CMakeFiles/sql.dir/flags.make' is not yet found.
Unless build is done with NMake, there will never be such file. To extract build flags
from Visual Studio, you'd need to process
project files with an XML processor. Maybe, just skipping this for Visual Studio would be
appropriate.
For Visual Studio users there relevant info in CMAKE_GENERATOR variable (Visual Studio
version) that is worth to be output.
===== Feature flags used: =====
Some info extracted from CMakeCache.txt are internal flags, hidden from user in normal
cmake-gui or ccmake (stuff with :INTERNAL
suffixes, like WITH_MYISAM_STORAGE_ENGINE:INTERNAL=ON).
Some interesting flags on the other hand are missing (like INSTALL_LAYOUT or
MYSQL_DATADIR). Maybe, cmake -LH ${CMAKE_BINARY_DIR}
could do a better job in extracting interesting flags.
> -----Original Message-----
> From: Vladislav Vaintroub [mailto:wlad@stripped]
> Sent: Samstag, 22. Januar 2011 15:52
> To: 'Joerg Bruehe'
> Cc: commits@stripped
> Subject: RE: bzr commit into mysql-5.5-bugteam branch (joerg:3209) Bug#42969