On Friday 18 July 2008, you wrote: ... > nmake > Don't know about vs projects - never used them to build kde4 I think you can test for nmake like this: IF(CMAKE_GENERATOR MATCHES "NMake") Alex