vcpkg/ports/juce/usage
Amin Yahyaabadi 3bc5ff7f7a
[juce] add port for JUCE (#35439)
* [juce] add port for JUCE

* [juce] install linux dependencies in ci

* [juce] fix tool installation and cleaning

* [juce] fix freetype includes for juce graphics

* [juce] fix freetype includes for juceaide

* [juce] simplify the freetype find check

* [juce] use find_path in addition for freetype

* [juce] allow setting freetype usage for juceaide

* [juce] forward freetype setting + guard with option

* [juce] do not use freetype for console apps

* [juce] freetype is needed for console apps on Linux

* [juce] link freetype on Linux for juce_build_tools

* [juce] forward-vcpkg-toolchain for Builder

* [juce] fix linux dependencies + forward vcpkg args

* [juce] fix installation of juce tools and juce extra tools

* [juce] use jack2 only on Linux

* [juce] add docs for targets and descriptions

* [juce] fix installation path references in CMake

* [juce] do not move Cmake files + fix tool install dir

* [juce] remove libwebkit2gtk-4.0-dev from ci

* [juce] add ONLY_STATIC_LIBRARY to the port for windows

* [juce] fix the CMake path installation paths

* Revert "[juce] add ONLY_STATIC_LIBRARY to the port for windows"

This reverts commit 0eb5c6f1c6.

* [juce] improve linux dependencies find/linkage

* [juce] remove libxcomposite-dev from vm
2024-01-08 14:36:00 -08:00

31 lines
983 B
Plaintext

juce provides the following common CMake targets:
find_package(JUCE CONFIG REQUIRED)
target_link_libraries(main PRIVATE
juce::juce_core
juce::juce_audio_basics
juce::juce_events
juce::juce_audio_devices
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags)
See the Juce CMake API documentation and the License for details on how to create targets. Here are other available targets:
juce::juce_graphics
juce::juce_gui_basics
juce::juce_gui_extra
juce::juce_opengl
juce::juce_analytics
juce::juce_audio_formats
juce::juce_audio_plugin_client
juce::juce_audio_processors
juce::juce_audio_utils
juce::juce_box2d
juce::juce_cryptography
juce::juce_data_structures
juce::juce_dsp
juce::juce_osc
juce::juce_product_unlocking
juce::juce_video