Apply a property sheet to empty C++ visual studio project -
i have created empty visual c++ project , add single main.cpp
like:
#include <mylib.h> int main() { abc(); return 0; }
where abc()
function in mylib
say. use mylib
following settings need pointing right locations.
configaration setting -> vc++ directories -> executable directories configaration setting -> vc++ directories -> include directories configaration setting -> vc++ directories -> library directories configaration setting -> linker -> input -> additional dependencies
this tedious multiple projects i'd set property sheet these settings. when add property sheet project following xml stub generated:
<?xml version="1.0" encoding="utf-8"?> <project toolsversion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <importgroup label="propertysheets" /> <propertygroup label="usermacros" /> <propertygroup /> <itemdefinitiongroup /> <itemgroup /> </project>
but property editor blank property sheet?
i want simple solution adding needed external library setting project?
in order edit property sheet please select
view->property manager
in view, open property pages , edit settings double clicking settings file. don't use properties window.
Comments
Post a Comment