Memnarch / Delphinus

An alternative Packagemanager for the Delphi-IDE
Mozilla Public License 2.0
235 stars 64 forks source link

Virtual Treeview HPP file installation #23

Open bdwilton opened 7 years ago

bdwilton commented 7 years ago

We use a mix of CPP and Pascal application in RX (Rad Studio). Installation of Virtual Treeview 6.3.0 installs everything part from the header files correctly. The headers are located in the installation directory in my e.g. - C:\Users\Public\Public Documents\Studio\18.0\Comps\Virtual Treeview\source\source These either need to be placed somewhere in the include path e.g. - C:\Users\Public\Public Documents\Studio\18.0\hpp\Win32 64 bit headers go into the directory - C:\Users\Public\Public Documents\Studio\18.0\hpp\Win64

Or the path added to the Options->Delphi Options->Library "Library path" possibly. GetIt seems to add $(BDSCatalogRepository)\VirtualTreeView-6.1\source\

In the past the C:\Users\Public\Public Documents\Studio\18.0\hpp<32/64> path was used.

I'm assuming this is done by Delphinus but I may be part of Virtual Treeview packages ?

Memnarch commented 7 years ago

i investigated a bit. Seems HPP generation is not enabled by the TreeView-Package. But i think HPP generation should be handled by delphinus anyway. SO if the selected Studio includes both Delphi AND c++Builder, it should generate HPP. Or should it always generate them? Maybe the latter one as someone might want to install the c++ builder afterwards.

bdwilton commented 7 years ago

I'm pretty sure they have "Generate all C++ Builder files (including package libs)" under Delphi Compiler->Output - C/C++ which should generate all the required files to be consumed by C++ Builder.

If the header files are in a define path e.g. C:\Users\Public\Public Documents\Studio\18.0\hpp<32/64> then all works correctly. I manually copied them to that location.

Equally for other project I set Environment Variables for the particular component and include that on a per project basis.

No sure if it is possible to get them copied to that location or not.

It seems GetIt is adding paths to the Options->Delphi Options->Library "Library path"

Memnarch commented 7 years ago

That's what i am a bit confused about: Is the DELPHI Library-Path used by C++ Builder? Is this the same?!

PS: I'll add them to the Librarypath. I can copy them BUT cleaning up with a custom folder is much simpler afterwards ;)