CMake

"Use Unicode Character Set" in CMake generated Visual Studio projects

Submitted by slavikt on Wed, 12/03/2008 - 22:31.

It's strange, but default generated projects are configured to use Multibyte instead of Unicode option.

Hopefully, it's very easy to fix. Just add this line in your top CMakeLists.txt file.

add_definitions(-DUNICODE -D_UNICODE)

Not a problem at all anymore.

PS. As it turned out, there is discussion about it in the CMake mailing list on the last month. Stupid me had to reinvent the wheels.

|

Mastering CMake

Submitted by slavikt on Wed, 12/03/2008 - 01:01.

Ok, I was silent here for a long time. Lot's of things have changed, huge pile of new things learned. Let's continue.

During last few weeks I'm learning the CMake. Bought the "Mastering CMake" book (which is not as good as I have expected), read it, experimented a little.

Now I have two things to share about this system which are not covered by official docs and I haven't found them with google (at least in the clear Q&A form).  read more »

|