mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Allow build tree to be used as a pseudo-install-tree
Once JUCE has been built, you can use the following line to include
the targets from the build tree (replace `JUCE_BUILD_DIR` as
appropriate).
```
include("${JUCE_BUILD_DIR}/JUCEExportConfig.cmake")
```
This commit is contained in:
parent
167397ab76
commit
0b4089c951
3 changed files with 18 additions and 16 deletions
|
|
@ -85,6 +85,5 @@ else()
|
|||
install(PROGRAMS "${imported_location}" DESTINATION "${JUCE_TOOL_INSTALL_DIR}")
|
||||
|
||||
get_filename_component(binary_name "${imported_location}" NAME)
|
||||
set(JUCE_CMAKE_BINARY_BUILDER_NAME "${JUCE_TOOL_INSTALL_DIR}/${binary_name}"
|
||||
CACHE INTERNAL "The name of the juceaide program")
|
||||
set(JUCE_JUCEAIDE_NAME "${binary_name}" CACHE INTERNAL "The name of the juceaide program")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue