Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
163 stars 31 forks source link

missing "SUBDIRLIST" Macro? #103

Closed DanBennettDev closed 5 years ago

DanBennettDev commented 6 years ago

I worked around #102 by just following the instructions in the ruby script manually

From there, when I come to run cmake in the newly created package directory, I get this error.

Unknown CMake command "SUBDIRLIST".

It looks like this is maybe a missing macro. Possibly the one described in top answer here https://stackoverflow.com/questions/7787823/cmake-how-to-get-the-name-of-all-subdirectories-of-a-directory ?

[edit]: And in fact adding that allows me to continue and complete the process of making the package.

Again: Win 10, Max 7 64bit, powershell

tap commented 6 years ago

SUBDIRLIST is defined for cmake in a Git submodule.

If the create_package script succeeds (see #102) then the submodules are all updated for you and this will be present.

However, if that fails (or if you are working manually) then it will necessary to call git submodule update --init --recursive to pull everything down before running CMake the first time.