Skip to content
Permalink
Browse files

Make FRUT installable

  • Loading branch information...
McMartin committed Feb 10, 2018
1 parent 3b1eb2a commit c8b7d1e61e12806c99f19ade608505abb47f6b33
@@ -1,3 +1,4 @@
*build/
*prefix/
/ci/tmp/
/cmake/bin/
@@ -28,3 +28,12 @@ set(JUCE_modules_DIRS "${JUCE_ROOT}/modules")
add_subdirectory(cmake/BinaryDataBuilder)
add_subdirectory(cmake/IconBuilder)
add_subdirectory(cmake/PListMerger)


install(FILES "${CMAKE_CURRENT_LIST_DIR}/cmake/Reprojucer.cmake"
DESTINATION "FRUT/cmake"
)

install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/cmake/templates"
DESTINATION "FRUT/cmake"
)
@@ -205,3 +205,6 @@ jucer_export_target_configuration(
)

jucer_project_end()


install(TARGETS Jucer2Reprojucer DESTINATION "FRUT/bin")
@@ -148,4 +148,9 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
endif()


install(TARGETS BinaryDataBuilder DESTINATION ".")
get_cmake_property(is_in_try_compile IN_TRY_COMPILE)
if(is_in_try_compile)
install(TARGETS BinaryDataBuilder DESTINATION ".")
else()
install(TARGETS BinaryDataBuilder DESTINATION "FRUT/cmake/bin")
endif()
@@ -134,4 +134,9 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
endif()


install(TARGETS IconBuilder DESTINATION ".")
get_cmake_property(is_in_try_compile IN_TRY_COMPILE)
if(is_in_try_compile)
install(TARGETS IconBuilder DESTINATION ".")
else()
install(TARGETS IconBuilder DESTINATION "FRUT/cmake/bin")
endif()
@@ -98,4 +98,9 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
endif()


install(TARGETS PListMerger DESTINATION ".")
get_cmake_property(is_in_try_compile IN_TRY_COMPILE)
if(is_in_try_compile)
install(TARGETS PListMerger DESTINATION ".")
else()
install(TARGETS PListMerger DESTINATION "FRUT/cmake/bin")
endif()

0 comments on commit c8b7d1e

Please sign in to comment.
You can’t perform that action at this time.