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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:25:18+00:00 2026-06-13T16:25:18+00:00

I have a Visual C++ 2012 Express project on Git that uses an external

  • 0

I have a Visual C++ 2012 Express project on Git that uses an external libcurl (not included in the repository).

I added the library by adding the corresponding paths on my machine (D:\libcurl\XXX) to Include Directories and Library Directories in VC++ Directories of Project Properties. So these settings are saved in the .vcxproj file.

If someone whose libcurl path is different from mine wants to build the project, he would have to:

  • Change VC++ Directories settings in Project Properties.
    (then the project file will become modified, which is not what I want.)

  • Move his libcurl files to match mine (D:\libcurl).
    (library path is forced to be D:\libcurl, not so flexible)

My question is: Is there a way to avoid this?

(In old versions of Visual C++, I can set the paths in the global VC++ Directories of the Tools->Options dialog instead. But the feature is deprecated in recent versions.)

  • 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-13T16:25:19+00:00Added an answer on June 13, 2026 at 4:25 pm

    I believe u can achieve this by using environment variables.
    For example, you can add an environment variable called: LIBCURL
    You can then set the LIBCURL to any path u want: D:\libcurl or X:\lib2.3b …

    no matter what ur library path is, u can always use the same VC++ Directories: $(LIBCURL)\XXX

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

Sidebar

Related Questions

How can I add a configuration file to Visual Studio 2012 Web Express library
So Microsoft released Visual Studio 2012 Express for desktop apps. That's great, but how
I have a package that is developed in SSIS 2012 using Visual Studio 2010.
I have downloaded and installed Visual Studio Express 2012 for Web but I am
I'm using Microsoft Visual Studio Express 2012 for Web. It seems that every file
I have a clean, out-of-the-box installation of Visual Studio 2012 Web Developer Express and
I'm struggling with migrating to Visual Studio 2012 Express Edition to handle a project
I was very happy to learn that Visual Studio 2012 Express for Desktop has
I have a C++ solution in Visual Studio (2012 Express) containing 15 projects. 1
I have installed Visual Studio 2012 RC. I would like to find any example

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.