Compile FOR Raspberry NOT in Raspberry

Is it posible to compile using windonws 10 ?(or other operanting system) an app that can run on Raspberry ? If so, can you point me out a tutorial? All the tutorials that I can find are for compiling directly inside the raspberry PI.

But I don´t get it, sorry for being such a noob, im using visual. So I add all those things to wherever is supposed to be, click compiled and then I copy the bin folder to my raspy? Or… what?

You can either make a copy of the root file system and work, then you need to manually copy over the binary. Or you can mount the rpi as a network share and work with that, then the compiler will output the binary on your pi in the same step.

What´s the binary?

The openFrameworks program that you compiled.