Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualBitMaster

Posted 18 January 2013 - 07:56 AM

CMake is not exactly perfect but I do not know of any better alternative (although I have not tried out Premake4 so far). I do not see any reasonable way to manage a single project across multiple building platforms without something like it (for example one project I work for needs to be buildable across MSVC, Linux gcc, Android and iOS).

That said, like any other tool, CMake largely requires a lot of practical experience. Try to create a project which just contains a single "hello world" source file. That should be doable in 5 or 10 lines if memory serves. Then slowly work yourself up using the documentation and tutorials to include management of external libraries, project-internal libraries with varying dependencies and custom build steps.

#1BitMaster

Posted 18 January 2013 - 07:37 AM

CMake is not exactly perfect but I do not know of any better alternative (although I have not tried out Premake4 so far). I do not see any reasonable way to manage a single project across multiple projects without something like it (for example one project I work for needs to be buildable across MSVC, Linux gcc, Android and iOS).<br /><br />That said, like any other tool, CMake largely requires a lot of practical experience. Try to create a project which just contains a single "hello world" source file. That should be doable in 5 or 10 lines if memory serves. Then slowly work yourself up using the documentation and tutorials to include management of external libraries, project-internal libraries with varying dependencies and custom build steps.

PARTNERS