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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:52:17+00:00 2026-06-09T11:52:17+00:00

At my company we have a large C++ project with multiple features that can

  • 0

At my company we have a large C++ project with multiple features that can be enabled or disabled with various preprocessor definitions.

If we were to enumerate each of the possible preprocessor/feature combinations in a list of Project Configurations, we’d have ourselves quite an extensive list (not to mention long configuration names)!

Is there a plug-in – or some other unknown feature – which can display a prompt when a user initiates a build, such that the user can check/uncheck a list of configurable features, in order to enable or disable the preprocessor definitions?

Something like this would be awesome:

enter image description here

  • 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-09T11:52:18+00:00Added an answer on June 9, 2026 at 11:52 am

    You could create a simple application which will produce a header file with defines

    #ifndef __GEN_CONFIG__
    #define __GEN_CONFIG__
    
    #undef  LOGGING
    #define LOGGING 1 // for example
    
    #undef  FEATURE_A
    #define FEATURE_A 0
    
    #endif
    

    this header can then be included in the project.

    The application/dialog can be executed as a Visual Studio Pre-Build event, to ensure that the header file is updated right before compilation.

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

Sidebar

Related Questions

I work for a large company that has adopted sharepoint. I have been tasked
I am working as a part of a large project. The company that I
Situation: I have a large shrink wrapped application that my company bought. It is
Has anyone worked at a large company, or on a very large project, that
I have a small website for a company that have 40-50 product. The site
I'm creating an intranet asp.net mvc application that everyone in the company should have
I have a large SSRS 2008 Server Report Project (more than 200 reports). Currently
I have a large CVS Repository in a Netbeans Java Project. I used to
I have a relatively large C#/WPF Visual Studio 2008 solution that I am trying
I have begun working on a project that, at the moment, produces a monolithic

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.