How to create project dependencies in netbeans (c/c++ plugin) -
Like I work on a C ++ application, I think I'm building many classes and tasks I can be used in other projects. So I will put all this in a separate Net Beam project which can be "included" in other projects (with code termination etc.)
I have tried to create a new "static library" project, Then I got my main project in Project (Preferences-> Link-> Libraries and My "Library Project"), but the facility to complete the code did not get the .h file of my Library Project when I Try to #include it does / does my project will not be built.
What is the right way to do this?
Creating a static library and adding it to linker-> libraries is correct but requires a smaller step : Add Directory - * C Compiler (or C ++ Compiler) -> Directory to Shared * .h files for property properties.
Also take a look at the subproduct sample: File -> New Project -> Samples -> C / C ++ -> Subproject Application.
Comments
Post a Comment