Re: [cmake-developers] Autogen subdirectories patches

2016-07-27 Thread Sebastian Holtermann
Am 27.07.2016 um 19:31 schrieb Ben Boeckel: On Wed, Jul 27, 2016 at 17:49:40 +0200, Sebastian Holtermann wrote: Is there an error exit function in CMake? Or just exit(-1); Here's an example I found: this->Makefile->IssueMessage( cmake::INTERNAL_ERROR, "fileFound is true but FileFoun

Re: [cmake-developers] Autogen subdirectories patches

2016-07-27 Thread Ben Boeckel
On Wed, Jul 27, 2016 at 17:49:40 +0200, Sebastian Holtermann wrote: > Is there an error exit function in CMake? > Or just exit(-1); Here's an example I found: this->Makefile->IssueMessage( cmake::INTERNAL_ERROR, "fileFound is true but FileFound is empty!"); after that, it is treated as

[cmake-developers] [PATCH v5] For consoles output on Windows use our own std::streambuf

2016-07-27 Thread Dāvis Mosāns
Currently Microsoft's C++ libraries implementation of std::cout/cerr can't output Unicode characters but only ASCII or ANSI if locale is set so we implement and use our own ConsoleBuf which can output Unicode characters to console and it doesn't matter what locale or console's codepage is set. ---

Re: [cmake-developers] Autogen subdirectories patches

2016-07-27 Thread Sebastian Holtermann
Am 27.07.2016 um 17:49 schrieb Sebastian Holtermann: Doing so I found that Base64 allows '+' and '/' as characters which is bad for directory names obviously. For now these characters get replaced with 'A' and 'B'. '_' and '@' would be better replacements (with comments why they are used) sin

Re: [cmake-developers] Autogen subdirectories patches

2016-07-27 Thread Sebastian Holtermann
Doing so I found that Base64 allows '+' and '/' as characters which is bad for directory names obviously. For now these characters get replaced with 'A' and 'B'. '_' and '@' would be better replacements (with comments why they are used) since 'A' and 'B' are already characters in Base64. Som

Re: [cmake-developers] Autogen subdirectories patches

2016-07-27 Thread Ben Boeckel
On Tue, Jul 26, 2016 at 23:38:34 +0200, Sebastian Holtermann wrote: > Doing so I found that Base64 allows '+' and '/' as characters which is > bad for directory names obviously. > For now these characters get replaced with 'A' and 'B'. '_' and '@' would be better replacements (with comments why t