ofnode / of

CMake openFrameworks for Linux, OS X and Windows.
71 stars 14 forks source link

ofxaddon command #14

Closed ghost closed 6 years ago

ghost commented 6 years ago

In the README it is stated that one can:

Easily add openFrameworks addons with single ofxaddon command.

Unfortunately I cannot find the ofxaddon command. Is this planned for the future or did I miss something?

Very kind regards, Hans-J.

avilleret commented 6 years ago

here it is : https://github.com/ofnode/of/blob/master/openFrameworks.cmake#L901

You have to include openFrameworks.cmake in your CMakeLists.txt, see https://github.com/ofnode/ofApp/blob/master/CMakeLists.txt#L6

but it might be buggy, feel free to report issue :-)

ghost commented 6 years ago

Thank you very much. And the ofxaddon command is so nice. Love it!

avilleret commented 6 years ago

you're welcome :-)

I tried to parse the of's addon_config.mk ile but it's quite hard to handle all options, so there might be some issue in weird case. If that happens to you, please report here. Thanks for your feedback