Can i compile the resources into the executable file?

Hello!
I’m a noob in Cocos2D-x and I have a question: can I compile the resources into the executable file?
If you haven’t understood, I want to know if is there a way to build the executable file in Visual Studio “putting the resources(images, icons) inside the executable file”.
I wouldn’t like to distribute a game using external resources, because it will grant acess to the resources to anyone that get the game.

If is there a way to do this in Cocos2D-x, reply please.

Sorry if my english is bad.

Doesn’t Xcode and Eclipse automatically do that for you?

Yes, but I’m talking about developing for Windows with Visual Studio, not for Mac or other platform.
When I build a project in Visual Studio with Cocos2D-X, it doesn’t “compile” the resources.