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 7953927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:16:19+00:00 2026-06-04T03:16:19+00:00

I am wondering how I should manage a growing C++ project. Now, I am

  • 0

I am wondering how I should manage a growing C++ project. Now, I am developing a project with Netbeans and it’s dirty work generating makefiles. The project has become too big and I have decided to split it up into a few parts. What is the best way of doing this?

I am trying to use Scons as my build system. I have had some success with it, but should I edit the build scripts every time I append or delete files. It’s too dull.

So I need your advice.

P.S. By the way, how does a large project like google chrome do this? Does everybody use some kind of IDE to build scripts generated only for software distribution?

  • 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-04T03:16:20+00:00Added an answer on June 4, 2026 at 3:16 am

    I also use Netbeans for C++ and compile with SCons. I use the jVi Netbeans plugin which really works well.

    For some reason the Netbeans Python plugin is no longer official, which I dont understand at all. You can still get it though, and it really makes editing the SCons build scripts a nice experience. Even though Netbeans doesnt have a SCons plugin (yet?) you can still configure its build command to execute SCons.

    As for maintaining the SCons scripts automatically by the IDE, I dont do that either, I do that by hand. But its not like I have to deal with this on a daily basis, so I dont see that its that important, especially considering how easy to read the scripts are.

    Here’s the build script in SCons that does the same as mentioned previously for CMake:

    env = Environment()
    env.EnsurePythonVersion(2, 5)
    env.EnsureSConsVersion(2, 1)
    
    libTarget = env.SharedLibrary(target = 'foo', source = ['a.cpp', 'b.cpp', 'c.pp'])
    env.Program(target = 'bar', source = ['bar.cpp', libTarget])
    

    The SCons Glob() function is a nice option, but I tend to shy away from automatically building all the files in a directory. The same goes for listing sub-directories to be built. Ive been burned enough times by this, and prefer explicitly specifying the file/dirs to be built.

    In case you hear those rumors that SCons is slower than other alternatives, the SCons GoFastButton has some pointers that can help out.

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

Sidebar

Related Questions

I am wondering how should I be grouping my repositories? Like from the examples
I was wondering how should I proceed to debug while working with frameworks. Like
I'm wondering if I should be using a Backbone.Collection called ExerciseList for my exercises
I'm wondering whether I should create extension methods that apply on the object level
I'm wondering if I should use OpenId for my website. My first exposure to
I am wondering how I should structure a FAQ to keep the semantic meaning
I'm wondering if I should change the software architecture of one of my projects.
I am wondering what rights should be given to sql server user for asp.net
(I'm a cocoa beginner and ) I'm wondering why we should do: NSLog(@this is
This is a security best practice and I'm wondering if I should even be

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.