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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:27:07+00:00 2026-05-25T13:27:07+00:00

We have a problem that we’re sure that it’s already solved. Our research team

  • 0

We have a problem that we’re sure that it’s already solved. Our research team in the university is developing a software using Visual Studio 2010. The software we develop is based on different open source tools, which have their own libraries in their own paths at each different computer.

The open source packages are compiled with CMake. We, individually, have managed to install them and started to develop our software. But the thing is that our individually written codes don’t work at each others’ computers due to the differences in the path settings. How can we provide a general functionality for our codes? Should we also use CMake? We’re using a repository, hg mercurial. Should we avoid committing project files to the repository and only commit header or source files? Should we perform modifications on the source which would later be configured by CMake everytime we make a change?

Thank you.

  • 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-05-25T13:27:07+00:00Added an answer on May 25, 2026 at 1:27 pm

    You should use CMake to generate Visual Studio project files. Commit only source, header, and the CMakeLists.txt.

    Work with a seperate build path. For example, if your Project structure is like

    Project\Src 
    Project\Doc
    Project\......
    

    create a build folder like

    Project\build
    

    and generate the VS-Solution and Project files into this folder. CMake will (hopefully 🙂 ) find all the libraries and set the correct include and library paths for VS. The VS project files are only generated if new source files are added to the project. CMake will detect this automatically and prompt if you want to re-generate the project files.

    This is how we work and we’re doing really fine. 🙂

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

Sidebar

Related Questions

I have a problem that I solved using delegates, but now I am thinking
I have a problem that I would like have solved via a SQL query.
We have the problem that we have the open project files in our SVN
I have a problem that I can't figure out myself. I've tried using LEFT
I have a problem that whenever I'm inserting data using coredata, everything's going fine.
I have a problem that I cannot wrap my head around. I'm using Apache
I have a problem that would be easily solved if I could somehow inflate
I have a problem that I believe I need to use grouping using xsl:key
I have the problem that i am using relative paths for my files, so
I have a problem that I'm not even sure what to search for in

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.