I started using CMake pretty recently. It is a really easy script language but there are many tricks to learn and tutorials on the cmake website is not much help.
Basically I want to build my project for
- Windows (using visual studio 2010) x86 and x64
- Mac os (using Xcode 4) x86 and x64
Dependending on the OS and plateforme I want to link certain libraries.
I figured out for Windows that I can use WIN32 or WIN64 to set this up. But I can't find the equivalence for mac os. Can someone point me in the right direction?