Quantcast
Channel: Programming – Xinyustudio
Viewing all articles
Browse latest Browse all 284

Setup CGAL in Windows 7 using cmake command line

$
0
0

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 CGAL-4.0.2.zip to a folder “\CGAL\v402”
  2. Open a command window, and cd to that directory (see the red rectangle), and type “cmake .”

    image
    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.

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

Filed under: Programming

Viewing all articles
Browse latest Browse all 284

Trending Articles