Setup CGAL in Windows 7 using cmake command line

18 Jul

In my previous post, I discussed building CGAL using cmake-gui option, and in this post, I will demo how to do this from command line cmake:

  1. Extract to a folder “\CGAL\v402”
  2. Open a command window, and cd to that directory (see the red rectangle), and type “cmake .”

    cd c:\Tools\Libs\CGAL\v402\
    cmake .

  3. cmake will automatically infer the compilers and platform based on current system configuration, in my case, Visual Studio 2010 is used.


  4. After running the above command, you will see a CGAL.sln in the folder. Open Visual Studio 2010, rebuild solution. Done!
Leave a comment

Posted by on July 18, 2012 in Programming


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: