Follow-up to self, to get it archived (and Wlad might be interested):
Joerg Bruehe wrote:
> [[...]]
>
>
> Your second mail:
>
>> Hi Joerg,
>>
>> Some more feedback (this time only windows-related).
>>
>> I get this in VERSION_bin files
>>
>> [[...]]
>
>> ===== 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.
>
> [[...]]
> I would like to see them written as well, but if I have to make a choice
> I agree that "cmake -L" might be the better one.
"cmake -L . by itself in the "VERSION_BIN" target (which will always be
rebuilt) causes an infinite recursion :(
"cmake -NL ." does the same :(
"cmake -N -L ." works as expected :)
It is rare to see a command which doesn't accept the combination of
single-letter options, but what is worse IMO is that it doesn't give an
error message.
Jörg
--
Joerg Bruehe, MySQL Build Team, joerg.bruehe@stripped
(+49 30) 417 01 487
ORACLE Deutschland B.V. & Co. KG, Komturstrasse 18a, D-12099 Berlin
Geschaeftsfuehrer: Juergen Kunz, Marcel v.d. Molen, Alexander v.d. Ven
Amtsgericht Muenchen: HRA 95603