BlazingRenderer / BRender

Modernized fork of BRender
MIT License
49 stars 5 forks source link

Overhaul install locations #32

Closed erysdren closed 1 year ago

erysdren commented 1 year ago

I want to use BRender in a project of mine, but I was dissatisfied with the default install locations for the libraries, headers and tool binaries. I've updated it to reflect this sort of structure (UNIX directories shown):

Libraries go to: /usr/local/brender/lib

Headers go to: /usr/local/brender/include

Binaries go to: /usr/local/brender/bin

DDI and the device drivers go to subfolders of the above.

I also added a pkg-config script, so you can use BRender with pkg-config rather than CMake.

erysdren commented 1 year ago

Sure! done.

Arcnor commented 1 year ago

Hey there @erysdren , thanks for the PR. I worked on the CMake stuff before as well, and I was wondering if do you think we could use the GNUInstallDirs module instead of hardcoding each directory in the install targets? I mean for things like ${CMAKE_INSTALL_PREFIX}/brender/bin and the like.