agfline / LibAAF

Library for Advanced Authoring Format (AAF) file reading.
GNU General Public License v2.0
25 stars 5 forks source link

allow out-of-tree builds #15

Closed umlaeute closed 9 months ago

umlaeute commented 9 months ago

Cmake allows for out-of-tree builds (e.g. where the srouce direcctory is read-only).

Unfortunately, LibAAF seems to actively prevent out-of-tree builds, by basing the output directory on PROJECT_SOURCE_DIR

https://github.com/agfline/LibAAF/blob/c09538608e56dbf42c099c7d1afa5f48c9d2a3fd/CMakeLists.txt#L73-L75

i think instead the output directory should be based on CMAKE_BINARY_DIR