pure-data / pd.cmake

A CMake based build system for Pure Data libraries.
GNU General Public License v3.0
1 stars 4 forks source link

Default installation target #8

Closed umlaeute closed 6 months ago

umlaeute commented 6 months ago
          ## About `PDLIBDIR`

@umlaeute I have some thoughts regarding the default PDLIBDIR path configuration:

Windows

Currently, pd-lib-builder uses %APPDATA%/Roaming/Pd as the default path. However, this is a hidden folder on Windows, making it somewhat inconvenient to access (personal opinion). I believe it would be more intuitive to use %HOME%/Documents/Pd/externals, which is the default path for PureData. What do you think?

Linux

For Linux, I suggest using /home/Documents/Pd/externals. In pd-lib-builder, the default path is /usr/local/lib/pd-externals, which requires sudo permissions to install. Using the home directory would simplify the installation process.

Mac

For macOS, I would also recommend placing it in the Documents folder. However, I need access to an Apple machine to verify this configuration.

Originally posted by @charlesneimog in https://github.com/pure-data/pd.cmake/issues/7#issuecomment-2136157317