Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8985801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:24:20+00:00 2026-06-15T21:24:20+00:00

I see cmake used in a lot of open source projects that i would

  • 0

I see cmake used in a lot of open source projects that i would enjoy working with, but i have no knowledge of cmake currently. Most applications i write now are small programs i write to refresh my knowledge, would using cmake to build these be a ‘waste of time’ because of their small size?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:24:21+00:00Added an answer on June 15, 2026 at 9:24 pm

    Are you currently writing makefile by hands ? If yes you might want to switch to CMake.

    Look at a HelloWorld in CMake:

    #include <stdio.h>
    int main() {
      printf("hello world.\n");
      return 0;
    }
    

    CMakeLists.txt

    cmake_minimum_required(VERSION 2.0)
    project(MyProject)
    add_executable(hello main.cpp)
    

    Quite simple as you can see.

    CMake is immensely powerful, it can generate visual studio project, xcode, automatically find dependecies, such as Qt, boost, etc.

    It is cross plateform and imho not difficult to learn. It is bundled with CTest and CPack, to run and report your tests and deploy your application.

    As you said, it is used in many projects, small ones and very big ones such as KDE. There is a port of Boost which use CMake to build instead of bjam for instance.

    I warmly recommend you to use it, it is useful to learn how to use popular tools 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an open source C++ project, for code that compiles on
I see that this is the same question as Making cmake print commands before
I use CMake with GNU Make and would like to see all commands exactly
I have an out-of-source build setup with cmake and I am trying to generate
I have a simple project going that uses CMake and gtest. I have a
I've been working on an old game that I created CMake files for to
I have a C++ library that is using cmake. The structure of my library
I'm having a link error under cmake that I don't have when compiling on
I've downloaded CMake GUI 2.8-4, launched it, but the only generator I see is
According to what I see, cmake 2.6.x supports CDT 4.x. We already have CDT

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.