Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Getting Started With CMake (An End-User's Perspective) For Cross-Platform Building (Part 2 of 6)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,300
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 31, 2009

I have posted a series of videos (actually one video that I chopped up into YouTube sized chunks) that demonstrate how to use CMake to build a project with your operating system and IDE of choice.

This is not a tutorial on how to code CMake. This is a tutorial on how to build a project that uses CMake. It's not hard, but I've found that a lot of newbies and outsiders don't know where to start or fully understand what CMake actually does and all the cool things CMake is capable of doing such as generating Visual Studio, Xcode, and Eclipse projects.

So this video shows off some of the generator capabilities of CMake. I also do some useful tips and tricks.

Specifically, this video uses a new OpenGL related project called Chaskii (which I helped write the CMake build system for). And using virtualization, I do a side-by-side(-by-side-by-side) comparison of building the same project under Linux, Mac and Windows, demonstrating the Makefile, Eclipse, Xcode, and Visual Studio generators.

This screencast was originally made to help the Chaskii users, but in hindsight, I realized that this video covers a lot of general ideas that would be useful for CMake users in general. So I am making this available for all.

For best results, please watch the HD version so you can read any small text. (I've significantly improved my recording and encoding quality techniques over my last videos.)


Part 1: Introduction, Out-of-source builds, and Makefile generator on Ubuntu Linux.

Part 2: Makefiles continued, CMake Targets, Automatic Dependency Tracking, Output Directories, rpath, make install & make uninstall

Part 3: Eclipse Generator

Part 4: CMake GUIs (ccmake), Xcode generator on Mac OS X 10.5, CPack to make .pkg installer

Part 5: CMake-GUI on Windows XP, environmental variable tricks, Visual Studio

Part 6: Install target and Windows Registry entries, Back to Linux/Makefiles, Debug and Release types for Makefiles, Auto-regeneration by CMake


Chaskii is open source and can be found here:
http://chaskii.org

CMake as always can be found here:
http://www.cmake.org

My website:
http://playcontrol.net

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more