Cmake
-
Upload
shubham-chaudhary -
Category
Education
-
view
134 -
download
1
description
Transcript of Cmake
- 1. 1 BuildingaProjectBuildingaProject
2. 2 Wait.....Wait..... I'veheardaboutcompilingaI'veheardaboutcompilinga program,butwhatdoesbuildingaprogram,butwhatdoesbuildinga programmean?programmean? 3. 3 "Building"isafairlygeneralterm,anditcan"Building"isafairlygeneralterm,anditcan refertoanythingthatisneededtogofromrefertoanythingthatisneededtogofrom editablesourcematerial(sourcecode,scripts,editablesourcematerial(sourcecode,scripts, rawdatafiles,etc.)toashippablesoftwarerawdatafiles,etc.)toashippablesoftware product.product. Buildingcan(andusuallydoes)involveBuildingcan(andusuallydoes)involve severalsteps,suchaspreprocessing,severalsteps,suchaspreprocessing, compiling,linking,convertingdatafiles,compiling,linking,convertingdatafiles, runningautomatedtests,packaging,etc.runningautomatedtests,packaging,etc. 4. 4 CMakeCMake CMakeisasophisticated,crossplatform,CMakeisasophisticated,crossplatform, opensourcebuildsystemdevelopedbyopensourcebuildsystemdevelopedby Kitwarein2001.Kitwarein2001. CMakeisthenameusedtorefertotheentireCMakeisthenameusedtorefertotheentire familyoftools:familyoftools: CMakeCMake CtestCtest CdashCdash CPackCPack