-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from dartsim/package_reorganizing_osgKido_rename
Change namespace and directory of osgKido
- Loading branch information
Showing
59 changed files
with
798 additions
and
696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
usr/include/kido/gui/osg/* | ||
usr/lib/libkido-gui-osg.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
usr/lib/libkido-gui-osg.so.* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS}) | ||
|
||
# Search all header and source files | ||
file(GLOB srcs "*.cpp") | ||
file(GLOB hdrs "*.hpp") | ||
|
||
set(kido_gui_osg_srcs ${srcs}) | ||
set(kido_gui_osg_hdrs ${hdrs}) | ||
|
||
add_subdirectory(render) | ||
|
||
# Library | ||
kido_add_library(kido-gui-osg ${kido_gui_osg_srcs} ${kido_gui_osg_hdrs}) | ||
target_link_libraries(kido-gui-osg kido kido-utils ${OPENSCENEGRAPH_LIBRARIES}) | ||
|
||
# Generate header for this namespace | ||
kido_get_filename_components(header_names "gui osg headers" ${hdrs}) | ||
list(APPEND header_names "render/render.hpp") | ||
kido_generate_include_header_list( | ||
gui_osg_headers | ||
"kido/gui/osg/" | ||
"gui osg headers" | ||
${header_names} | ||
) | ||
configure_file( | ||
${CMAKE_CURRENT_SOURCE_DIR}/osg.hpp.in | ||
${CMAKE_CURRENT_BINARY_DIR}/osg.hpp | ||
) | ||
|
||
if(${KIDO_BUILD_EXAMPLES}) | ||
add_subdirectory(examples) | ||
endif(${KIDO_BUILD_EXAMPLES}) | ||
|
||
# Install | ||
install( | ||
FILES ${hdrs} ${CMAKE_CURRENT_BINARY_DIR}/osg.hpp | ||
DESTINATION include/kido/gui/osg | ||
COMPONENT headers | ||
) | ||
install(TARGETS kido-gui-osg EXPORT KIDOTargets DESTINATION lib) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.