|
Revision 9359, 1.4 kB
(checked in by robert, 4 years ago)
|
|
From Mattias Helsing,"Added doc/Doxyfiles/openthreads.doxyfile.cmake
Updated all doxyfiles under doc/Doxyfiles. They are now all processed
by cmake but make targets are only generated for
OpenSceneGraphReferenceDocs? and OpenThreadsReferenceDocs?. The others
can be run with doxygen directly in <builddir>/doc.
Fixed a copy-paste in openthreads sproc and pthreads CMakeLists
Added the osg logo to the html footers
Added possibility to get generation of chm files.
CMakeLists (toplevel):
Added install of osg and ot reference docs. This also generates
packaging targets of openscenegraph-doc and openthreads-doc if you
have packaging enabled
Removed the unused USING_OP_OT_TRIPLE_SET since there was no way of
enabling it anyway
Removed BUILD_REF_DOCS. IMO it was redundant - BUILD_DOCUMENTATION
does the same thing and we get that anyway from including
Documentation.cmake.
OsgCPack.cmake:
Removed generation of PACKAGE_SRC for msvc
Added special handling for -doc packaging targets - they don't require
system, architecture or compiler"
|
| Line | |
|---|
| 1 | # This file should only be included when using Sproc |
|---|
| 2 | |
|---|
| 3 | SET(LIB_NAME OpenThreads) |
|---|
| 4 | SET(LIB_PUBLIC_HEADERS ${OpenThreads_PUBLIC_HEADERS}) |
|---|
| 5 | |
|---|
| 6 | ADD_LIBRARY(${LIB_NAME} |
|---|
| 7 | ${OPENTHREADS_USER_DEFINED_DYNAMIC_OR_STATIC} |
|---|
| 8 | ${LIB_PUBLIC_HEADERS} |
|---|
| 9 | SharedArena.c++ |
|---|
| 10 | SharedArena.h |
|---|
| 11 | SprocBarrier.c++ |
|---|
| 12 | SprocBarrierPrivateData.h |
|---|
| 13 | SprocCondition.c++ |
|---|
| 14 | SprocConditionPrivateData.h |
|---|
| 15 | SprocMutex.c++ |
|---|
| 16 | SprocMutexPrivateData.h |
|---|
| 17 | SprocThread.c++ |
|---|
| 18 | SprocThreadPrivateActions.h |
|---|
| 19 | SprocThreadPrivateData.h |
|---|
| 20 | ../common/Version.cpp |
|---|
| 21 | ../common/Atomic.cpp |
|---|
| 22 | ) |
|---|
| 23 | |
|---|
| 24 | IF(OPENTHREADS_SONAMES) |
|---|
| 25 | SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES VERSION ${OPENTHREADS_VERSION} SOVERSION ${OPENTHREADS_SOVERSION}) |
|---|
| 26 | ENDIF(OPENTHREADS_SONAMES) |
|---|
| 27 | |
|---|
| 28 | # Do we need to link against anything for Sproc? |
|---|
| 29 | #TARGET_LINK_LIBRARIES(${LIB_NAME} |
|---|
| 30 | #) |
|---|
| 31 | |
|---|
| 32 | # Since we're building different platforms binaries in |
|---|
| 33 | # their respective directories, we need to set the |
|---|
| 34 | # link directory so it can find this location. |
|---|
| 35 | LINK_DIRECTORIES( |
|---|
| 36 | ${CMAKE_CURRENT_BINARY_DIR} |
|---|
| 37 | ) |
|---|
| 38 | |
|---|
| 39 | INSTALL( |
|---|
| 40 | TARGETS OpenThreads |
|---|
| 41 | ARCHIVE DESTINATION lib${LIB_POSTFIX} COMPONENT libopenthreads-dev |
|---|
| 42 | LIBRARY DESTINATION lib${LIB_POSTFIX} COMPONENT libopenthreads |
|---|
| 43 | RUNTIME DESTINATION bin COMPONENT libopenthreads |
|---|
| 44 | ) |
|---|
| 45 | INSTALL( |
|---|
| 46 | FILES ${OpenThreads_PUBLIC_HEADERS} |
|---|
| 47 | DESTINATION include/OpenThreads |
|---|
| 48 | COMPONENT libopenthreads-dev |
|---|
| 49 | ) |
|---|
| 50 | |
|---|
| 51 | #commented out# INCLUDE(ModuleInstall OPTIONAL) |
|---|