Skip to content

Commit

Permalink
Do not install internal shiny library
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Jul 20, 2017
1 parent 48fa0df commit 3778410
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions source/shiny/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,6 @@ if(BUILD_SHARED_LIBS)
set_target_properties(${SHINY_LIBRARY} PROPERTIES SOVERSION "${SHINY_MAJOR_VERSION}.${SHINY_MINOR_VERSION}")
endif(BUILD_SHARED_LIBS)

if(BUILD_SHARED_LIBS)
install(TARGETS ${SHINY_LIBRARY}
LIBRARY DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION lib${LIB_SUFFIX})
else(BUILD_SHARED_LIBS)
install(TARGETS ${SHINY_LIBRARY}
ARCHIVE DESTINATION lib${LIB_SUFFIX}
RUNTIME DESTINATION lib${LIB_SUFFIX})
endif(BUILD_SHARED_LIBS)
file(GLOB HEADERS_EDITOR Editor/*.hpp)
file(GLOB HEADERS_EXTRA Extra/*.h)
file(GLOB HEADERS_MAIN Main/*.hpp)
install(FILES ${HEADERS_EDITOR} DESTINATION include/shiny/Editor)
install(FILES ${HEADERS_EXTRA} DESTINATION include/shiny/Extra)
install(FILES ${HEADERS_MAIN} DESTINATION include/shiny/Main)

set(SHINY_LIBRARIES ${SHINY_LIBRARY})

if (SHINY_BUILD_OGRE_PLATFORM)
Expand All @@ -80,17 +64,6 @@ if (SHINY_BUILD_OGRE_PLATFORM)
add_library(${SHINY_OGREPLATFORM_LIBRARY} ${SHINY_LIBRARY_TYPE} ${OGRE_PLATFORM_SOURCE_FILES})
add_dependencies(${SHINY_OGREPLATFORM_LIBRARY} ${SHINY_LIBRARY})
set(SHINY_LIBRARIES ${SHINY_LIBRARIES} ${SHINY_OGREPLATFORM_LIBRARY})
if(BUILD_SHARED_LIBS)
install(TARGETS ${SHINY_OGREPLATFORM_LIBRARY}
LIBRARY DESTINATION lib${LIB_SUFFIX}//OGRE
RUNTIME DESTINATION lib${LIB_SUFFIX}//OGRE)
else(BUILD_SHARED_LIBS)
install(TARGETS ${SHINY_OGREPLATFORM_LIBRARY}
ARCHIVE DESTINATION lib${LIB_SUFFIX}//OGRE
RUNTIME DESTINATION lib${LIB_SUFFIX}//OGRE)
endif(BUILD_SHARED_LIBS)
file(GLOB HEADERS_PLATFORM_OGRE Platforms/Ogre/*.hpp)
install(FILES ${HEADERS_PLATFORM_OGRE} DESTINATION include/shiny/Platforms/Ogre)
endif()

set(SHINY_LIBRARY ${SHINY_LIBRARY} PARENT_SCOPE)
Expand Down

0 comments on commit 3778410

Please sign in to comment.