Can i use cocos2d-x for pure desktop games ?

Hello all
im new to this framework but old timer at c++ development , something that i didnt found the answer yet
i guess its me …
but does this framework can be used to build desktop games ?
thanks for helping

You can export to Windows and Mac, so I guess, yes.

what do you mean export ? you need to compile …
if not , can i compile for windows and test it later on android and iphone ( that is compile for )
this is for speed development ,

You could write it purely in VS for windows and add the iOS/android projects later.

I do most of my dev in VS2012 and just compile for android / iOS to test accelerometer and screen res stuff.