Reverted the changes for ill fated tweaks for Apple build
This commit is contained in:
parent
bcee43bf44
commit
78964b4baa
@ -8,16 +8,9 @@ INCLUDE (CheckCXXSourceCompiles)
|
|||||||
SET(LIB_NAME OpenThreads)
|
SET(LIB_NAME OpenThreads)
|
||||||
SET(LIB_PUBLIC_HEADERS ${OpenThreads_PUBLIC_HEADERS})
|
SET(LIB_PUBLIC_HEADERS ${OpenThreads_PUBLIC_HEADERS})
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENTHREADS_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENTHREADS_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
PThread.c++
|
PThread.c++
|
||||||
PThreadBarrier.c++
|
PThreadBarrier.c++
|
||||||
PThreadBarrierPrivateData.h
|
PThreadBarrierPrivateData.h
|
||||||
|
@ -170,16 +170,9 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/ref_ptr
|
${HEADER_PATH}/ref_ptr
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
AlphaFunc.cpp
|
AlphaFunc.cpp
|
||||||
AnimationPath.cpp
|
AnimationPath.cpp
|
||||||
ApplicationUsage.cpp
|
ApplicationUsage.cpp
|
||||||
|
@ -30,16 +30,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/WriteFile
|
${HEADER_PATH}/WriteFile
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
Archive.cpp
|
Archive.cpp
|
||||||
DatabasePager.cpp
|
DatabasePager.cpp
|
||||||
DotOsgWrapper.cpp
|
DotOsgWrapper.cpp
|
||||||
|
@ -22,16 +22,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
AnisotropicLighting.cpp
|
AnisotropicLighting.cpp
|
||||||
BumpMapping.cpp
|
BumpMapping.cpp
|
||||||
Cartoon.cpp
|
Cartoon.cpp
|
||||||
|
@ -27,16 +27,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
AnimationPathManipulator.cpp
|
AnimationPathManipulator.cpp
|
||||||
DriveManipulator.cpp
|
DriveManipulator.cpp
|
||||||
EventQueue.cpp
|
EventQueue.cpp
|
||||||
|
@ -39,16 +39,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/variant_cast
|
${HEADER_PATH}/variant_cast
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
ConstructorInfo.cpp
|
ConstructorInfo.cpp
|
||||||
CustomAttributeProvider.cpp
|
CustomAttributeProvider.cpp
|
||||||
DefaultReflectors.cpp
|
DefaultReflectors.cpp
|
||||||
|
@ -32,16 +32,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
AntiSquish.cpp
|
AntiSquish.cpp
|
||||||
Command.cpp
|
Command.cpp
|
||||||
CommandManager.cpp
|
CommandManager.cpp
|
||||||
|
@ -50,16 +50,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
ConnectedParticleSystem.cpp
|
ConnectedParticleSystem.cpp
|
||||||
Emitter.cpp
|
Emitter.cpp
|
||||||
ExplosionDebrisEffect.cpp
|
ExplosionDebrisEffect.cpp
|
||||||
|
@ -20,16 +20,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
OccluderGeometry.cpp
|
OccluderGeometry.cpp
|
||||||
ShadowMap.cpp
|
ShadowMap.cpp
|
||||||
ShadowTechnique.cpp
|
ShadowTechnique.cpp
|
||||||
|
@ -34,16 +34,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/VisibilityGroup
|
${HEADER_PATH}/VisibilityGroup
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
BlinkSequence.cpp
|
BlinkSequence.cpp
|
||||||
ColorRange.cpp
|
ColorRange.cpp
|
||||||
DOFTransform.cpp
|
DOFTransform.cpp
|
||||||
|
@ -18,16 +18,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
Layer.cpp
|
Layer.cpp
|
||||||
Locator.cpp
|
Locator.cpp
|
||||||
TerrainTile.cpp
|
TerrainTile.cpp
|
||||||
|
@ -20,16 +20,10 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
# FIXME: For OS X, need flag for Framework or dylib
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
DefaultFont.cpp
|
DefaultFont.cpp
|
||||||
DefaultFont.h
|
DefaultFont.h
|
||||||
Font.cpp
|
Font.cpp
|
||||||
|
@ -48,16 +48,9 @@ SET(LIB_PUBLIC_HEADERS
|
|||||||
${HEADER_PATH}/Version
|
${HEADER_PATH}/Version
|
||||||
)
|
)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} )
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
CubeMapGenerator.cpp
|
CubeMapGenerator.cpp
|
||||||
CullVisitor.cpp
|
CullVisitor.cpp
|
||||||
DelaunayTriangulator.cpp
|
DelaunayTriangulator.cpp
|
||||||
|
@ -87,16 +87,11 @@ ELSE(WIN32)
|
|||||||
|
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS "")
|
|
||||||
ELSEIF(APPLE)
|
|
||||||
SET(ADD_LIBRARY_HEADERS ${LIB_PUBLIC_HEADERS} ${LIB_PRIVATE_HEADERS})
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
# FIXME: For OS X, need flag for Framework or dylib
|
|
||||||
ADD_LIBRARY(${LIB_NAME}
|
ADD_LIBRARY(${LIB_NAME}
|
||||||
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
|
||||||
${ADD_LIBRARY_HEADERS}
|
${LIB_PUBLIC_HEADERS}
|
||||||
|
${LIB_PRIVATE_HEADERS}
|
||||||
${LIB_COMMON_FILES}
|
${LIB_COMMON_FILES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user