Reputation: 65
I've been trying for hours to change the source path. I couldn't find anything on project properties, and I couldn't find anything on the internet either.
I want to put all my source files in a directory named "src"
like $mysolution-path)/src
and I also want to put library files in the /lib
directory, but I can't do it.
Where is this option? Is there an option like this. I want to keep my work clean and tidy, but it seems like it's impossible in Visual Studio unlike in IntelliJ IDE.
Upvotes: 1
Views: 15278
Reputation: 41
For source files:
Project properties
→ Configuration Properties
→ C/C++
→ General
there is a choice: Additional Include Directories
. Create your folders manually and then add the paths.
For library files:
Project properties
→ Configuration Properties
→ Linker
→ General
there is a choice: Additional Library Directories
. Create your folders manually and then add the paths.
Upvotes: 3
Reputation: 75668
One way of doing it:
Upvotes: 4