How to use cmake to generate Visual Studio .sln and .vcxproj

Hi,

I am new to this forum, so an Hello to all of you.

My problem:

I try to generate VS .sln and .vcxproj files from existing cmake files using cmake. So i will be able to use VS without cmake.

But do not know how.

The examples i found are the other way around. From VS to cmake, this is not what i am looking for.

Any idea is very helpful.

Thanks in advance.

cua
michael