HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 13 and Version 14 of PortingTips


Ignore:
Timestamp:
03/01/09 10:46:14 (6 years ago)
Author:
scottmc
Comment:

Added section about CMake

Legend:

Unmodified
Added
Removed
Modified
  • PortingTips

    v13 v14  
    6666}}} 
    6767Where x.x.x is the rev of the package, and gccX is gcc2 or gcc4, haiku could also be beos or bone or zeta, YYYY is the 4 digit year, MM is the 2 digit month, DD is the 2 digit day (both zero padded). 
     68 
     69== Using CMake == 
     70 
     71If you find a CMakeLists.txt file in a package you are porting chances are it's using CMake.  If you don't already have CMake installed go ahead and grab the [http://www.fileden.com/files/2008/8/23/2062382/packages/cmake-2.6.3-gcc2-haiku-2009-02-25.zip binary] and install it.  Then try running cmake CMakeLists.txt or for the interactive ncurses version try ccmake CMakeLists.txt.  Once the configuring is done, you use the normal make, make install, type commands, note the output may look different than you are used to.  One thing you might notice with CMake is that configuring, fixing and configuring may go faster since it keeps track of where in the configure process it left of at.  Feel free to update these notes as we will be seeing CMake more and more.  [http://www.cmake.org/cmake/help/documentation.html CMake documentation] 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/