CMake: Add missing .h/.I files that weren't getting installed

This commit is contained in:
Sam Edwards 2018-11-27 21:51:31 -07:00
parent 940ef456ff
commit 8df53698f4
23 changed files with 67 additions and 25 deletions

View File

@ -20,7 +20,9 @@ set(P3DCPARSER_HEADERS
dcSwitch.h
dcTypedef.h
dcPython.h
dcbase.h dcindent.h hashGenerator.h
dcbase.h dcindent.h
dcmsgtypes.h
hashGenerator.h
primeNumberGenerator.h)
set(P3DCPARSER_SOURCES

View File

@ -15,6 +15,7 @@ set(P3DTOOLBASE_HEADERS
addHash.I addHash.h
atomicAdjust.h
atomicAdjustDummyImpl.h atomicAdjustDummyImpl.I
atomicAdjustGccImpl.h atomicAdjustGccImpl.I
atomicAdjustI386Impl.h atomicAdjustI386Impl.I
atomicAdjustPosixImpl.h atomicAdjustPosixImpl.I
atomicAdjustWin32Impl.h atomicAdjustWin32Impl.I
@ -48,6 +49,7 @@ set(P3DTOOLBASE_HEADERS
pdeque.h plist.h pmap.h pset.h
pvector.h epvector.h
lookup3.h
version.h
)
set(P3DTOOLBASE_SOURCES

View File

@ -20,6 +20,7 @@ set(P3DTOOLUTIL_HEADERS
vector_double.h
vector_float.h
vector_int.h
vector_stdfloat.h
vector_string.h
vector_uchar.h
vector_src.h

View File

@ -91,8 +91,8 @@ if(NOT CMAKE_CROSSCOMPILING)
endif()
if(WANT_INTERROGATE)
install(TARGETS interrogate DESTINATION bin)
install(TARGETS interrogate_module DESTINATION bin)
install(TARGETS interrogate interrogate_module DESTINATION bin)
install(FILES ${INTERROGATE_HEADERS} DESTINATION include/panda3d)
else()
set_target_properties(interrogate interrogate_module
PROPERTIES EXCLUDE_FROM_ALL ON)

View File

@ -30,7 +30,7 @@ set(P3INTERROGATEDB_IGATE
)
set(P3IGATERUNTIME_HEADERS
extension.h py_compat.h py_panda.h py_wrappers.h
extension.h py_compat.h py_panda.h py_panda.I py_wrappers.h
)
composite_sources(p3interrogatedb P3INTERROGATEDB_SOURCES)

View File

@ -1,6 +1,7 @@
configure_file(prc_parameters.h.in prc_parameters.h)
set(P3PRC_HEADERS
androidLogStream.h
bigEndian.h
config_prc.h
configDeclaration.I configDeclaration.h
@ -27,7 +28,7 @@ set(P3PRC_HEADERS
notifyCategory.I notifyCategory.h
notifyCategoryProxy.I notifyCategoryProxy.h
notifySeverity.h
prcKeyRegistry.h
prcKeyRegistry.h prcKeyRegistry.I
reversedNumericData.I reversedNumericData.h
streamReader.I streamReader.h
streamWrapper.I streamWrapper.h

View File

@ -4,10 +4,14 @@ endif()
set(P3COCOADISPLAY_HEADERS
config_cocoadisplay.h
cocoaGraphicsBuffer.h cocoaGraphicsBuffer.I
cocoaGraphicsPipe.h cocoaGraphicsPipe.I
cocoaGraphicsWindow.h cocoaGraphicsWindow.I
cocoaGraphicsStateGuardian.h cocoaGraphicsStateGuardian.I
cocoaPandaApp.h cocoaPandaView.h cocoaPandaWindowDelegate.h
cocoaPandaApp.h
cocoaPandaView.h
cocoaPandaWindow.h
cocoaPandaWindowDelegate.h
cocoaPandaAppDelegate.h)
set(P3COCOADISPLAY_SOURCES

View File

@ -28,6 +28,7 @@ set(P3COLLIDE_HEADERS
collisionTraverser.I collisionTraverser.h
collisionTube.I collisionTube.h
collisionVisualizer.I collisionVisualizer.h
config_collide.h
)
set(P3COLLIDE_SOURCES
collisionBox.cxx

View File

@ -8,7 +8,7 @@ set(P3DOWNLOADER_HEADERS
decompressor.h decompressor.I
documentSpec.h documentSpec.I
download_utils.h downloadDb.h downloadDb.I
extractor.h
extractor.h extractor.I
httpAuthorization.I httpAuthorization.h
httpBasicAuthorization.I httpBasicAuthorization.h
httpChannel.I httpChannel.h

View File

@ -49,10 +49,12 @@ set(P3EXPRESS_HEADERS
threadSafePointerToBase.I threadSafePointerToBase.h
trueClock.I trueClock.h
typedReferenceCount.I typedReferenceCount.h typedef.h
virtualFile.I virtualFileList.I virtualFileList.h virtualFileMount.h
virtualFileComposite.h virtualFileComposite.I virtualFile.h
virtualFileMount.I virtualFileMountMultifile.h
virtualFileMountMultifile.I
virtualFileList.I virtualFileList.h
virtualFileComposite.h virtualFileComposite.I
virtualFile.h virtualFile.I
virtualFileMount.h virtualFileMount.I
virtualFileMountAndroidAsset.h virtualFileMountAndroidAsset.I
virtualFileMountMultifile.h virtualFileMountMultifile.I
virtualFileMountRamdisk.h virtualFileMountRamdisk.I
virtualFileMountSystem.h virtualFileMountSystem.I
virtualFileSimple.h virtualFileSimple.I

View File

@ -7,7 +7,7 @@ set(P3GLXDISPLAY_HEADERS
glxGraphicsBuffer.h glxGraphicsBuffer.I
glxGraphicsPipe.h glxGraphicsPipe.I
glxGraphicsPixmap.h glxGraphicsPixmap.I
glxGraphicsWindow.h
glxGraphicsWindow.h glxGraphicsWindow.I
glxGraphicsStateGuardian.h glxGraphicsStateGuardian.I
posixGraphicsStateGuardian.h posixGraphicsStateGuardian.I
panda_glxext.h

View File

@ -43,6 +43,8 @@ set(P3GOBJ_HEADERS
perspectiveLens.I perspectiveLens.h
preparedGraphicsObjects.I preparedGraphicsObjects.h
queryContext.I queryContext.h
samplerContext.h samplerContext.I
samplerState.h samplerState.I
savedContext.I savedContext.h
shader.I shader.h
shaderBuffer.h shaderBuffer.I

View File

@ -5,11 +5,14 @@ set(P3LINMATH_HEADERS
configVariableColor.h configVariableColor.I
coordinateSystem.h dbl2fltnames.h dblnames.h
deg_2_rad.h deg_2_rad.I
flt2dblnames.h fltnames.h lcast_to.h lcast_to_src.h
lcast_to_src.I lmatrix.h lmatrix_ext.h lmatrix3_src.I
lmatrix3_src.h lmatrix4_src.I
lmatrix4_src.h lorientation.h
lorientation_src.I lorientation_src.h
flt2dblnames.h fltnames.h
intnames.h
lcast_to.h lcast_to_src.h lcast_to_src.I
lmatrix.h lmatrix_ext.h
lmat_ops.h lmat_ops_src.h lmat_ops_src.I
lmatrix3_src.h lmatrix3_src.I
lmatrix4_src.h lmatrix4_src.I
lorientation.h lorientation_src.h lorientation_src.I
lpoint2.h lpoint2_src.I lpoint2_src.h
lpoint3.h lpoint3_src.I lpoint3_src.h
lpoint4.h lpoint4_src.I lpoint4_src.h

View File

@ -1,4 +1,5 @@
set(P3MOVIES_HEADERS
dr_flac.h
config_movies.h
flacAudio.h flacAudio.I
flacAudioCursor.h flacAudioCursor.I

View File

@ -3,16 +3,18 @@ if(NOT WANT_NATIVE_NET)
endif()
set(P3NATIVENET_HEADERS
config_nativenet.h
buffered_datagramconnection.h
buffered_datagramreader.h buffered_datagramreader.I
ringbuffer.h ringbuffer.I socket_ip.h
socket_tcp_listen.h time_accumulator.h time_out.h
socket_tcp.h socket_tcp_listen.h socket_tcp_ssl.h
time_accumulator.h time_out.h
socket_address.I socket_address.h
socket_portable.h time_base.h time_span.h buffered_datagramwriter.h
socket_base.h socket_selector.h
socket_udp.h
socket_udp_incoming.h time_clock.h
membuffer.h membuffer.I socket_fdset.h socket_tcp.h
membuffer.h membuffer.I socket_fdset.h
socket_udp_outgoing.h time_general.h)
set(P3NATIVENET_SOURCES

View File

@ -4,12 +4,14 @@ endif()
set(P3OSXDISPLAY_HEADERS
config_osxdisplay.h
osxGraphicsBuffer.h
osxGraphicsPipe.h
osxGraphicsWindow.h osxGraphicsWindow.I
osxGraphicsStateGuardian.h)
set(P3OSXDISPLAY_SOURCES
config_osxdisplay.cxx osxGraphicsPipe.cxx osxGraphicsStateGuardian.cxx
config_osxdisplay.cxx
osxGraphicsPipe.cxx osxGraphicsStateGuardian.cxx
osxGraphicsBuffer.cxx)
composite_sources(p3osxdisplay P3OSXDISPLAY_SOURCES)

View File

@ -5,8 +5,11 @@ set(P3PARTICLESYSTEM_HEADERS
baseParticleRenderer.h arcEmitter.I arcEmitter.h
boxEmitter.I boxEmitter.h
config_particlesystem.h discEmitter.I discEmitter.h
emitters.h
geomParticleRenderer.I geomParticleRenderer.h lineEmitter.I
lineEmitter.h lineParticleRenderer.I lineParticleRenderer.h
particlefactories.h
particles.h
particleSystem.I particleSystem.h particleSystemManager.I
particleSystemManager.h pointEmitter.I pointEmitter.h
pointParticle.h pointParticleFactory.h
@ -36,12 +39,16 @@ set(P3PARTICLESYSTEM_SOURCES
tangentRingEmitter.cxx zSpinParticle.cxx
zSpinParticleFactory.cxx colorInterpolationManager.cxx)
set(P3PARTICLESYSTEM_IGATE_SOURCES "${P3PARTICLESYSTEM_HEADERS};${P3PARTICLESYSTEM_SOURCES}")
list(REMOVE_ITEM P3PARTICLESYSTEM_IGATE_SOURCES "emitters.h")
list(REMOVE_ITEM P3PARTICLESYSTEM_IGATE_SOURCES "particlefactories.h")
list(REMOVE_ITEM P3PARTICLESYSTEM_IGATE_SOURCES "particles.h")
composite_sources(p3particlesystem P3PARTICLESYSTEM_SOURCES)
add_component_library(p3particlesystem SYMBOL BUILDING_PANDA_PARTICLESYSTEM
${P3PARTICLESYSTEM_HEADERS} ${P3PARTICLESYSTEM_SOURCES})
target_link_libraries(p3particlesystem p3physics panda)
target_interrogate(p3particlesystem ALL)
target_interrogate(p3particlesystem ${P3PARTICLESYSTEM_IGATE_SOURCES})
if(NOT BUILD_METALIBS)
install(TARGETS p3particlesystem DESTINATION lib RUNTIME DESTINATION bin)

View File

@ -3,6 +3,7 @@ set(P3PHYSICS_HEADERS
angularIntegrator.h angularVectorForce.I
angularVectorForce.h baseForce.I baseForce.h
baseIntegrator.I baseIntegrator.h config_physics.h
forces.h
forceNode.I forceNode.h
linearControlForce.I linearControlForce.h
linearCylinderVortexForce.I linearCylinderVortexForce.h

View File

@ -45,7 +45,8 @@ set(P3PIPELINE_HEADERS
pmutex.h pmutex.I
reMutex.I reMutex.h
reMutexDirect.h reMutexDirect.I
reMutexHolder.I reMutexHolder.h
reMutexHolder.h reMutexHolder.I
reMutexSpinlockImpl.h reMutexSpinlockImpl.I
psemaphore.h psemaphore.I
thread.h thread.I threadImpl.h
threadDummyImpl.h threadDummyImpl.I
@ -97,6 +98,7 @@ set(P3PIPELINE_SOURCES
reMutex.cxx
reMutexDirect.cxx
reMutexHolder.cxx
reMutexSpinlockImpl.cxx
psemaphore.cxx
thread.cxx
threadDummyImpl.cxx

View File

@ -1,5 +1,6 @@
set(P3PNMIMAGE_HEADERS
config_pnmimage.h
convert_srgb.h convert_srgb.I
pfmFile.I pfmFile.h
pnmbitio.h
pnmBrush.h pnmBrush.I

View File

@ -1,5 +1,6 @@
set(P3PNMIMAGETYPES_HEADERS
config_pnmimagetypes.h pnmFileTypeBMP.h
config_pnmimagetypes.h
pnmFileTypeBMP.h
pnmFileTypeEXR.h
pnmFileTypeIMG.h
pnmFileTypePNG.h
@ -10,6 +11,7 @@ set(P3PNMIMAGETYPES_HEADERS
pnmFileTypeTGA.h
pnmFileTypeTIFF.h
pnmFileTypeJPG.h
sgi.h
)
set(P3PNMIMAGETYPES_SOURCES

View File

@ -42,6 +42,7 @@ set(P3PUTIL_HEADERS
indirectCompareTo.I indirectCompareTo.h
ioPtaDatagramFloat.h ioPtaDatagramInt.h
ioPtaDatagramShort.h keyboardButton.h
iterator_types.h
linkedListNode.I linkedListNode.h
load_prc_file.h
loaderOptions.I loaderOptions.h
@ -59,7 +60,9 @@ set(P3PUTIL_HEADERS
typedWritableReferenceCount.h updateSeq.I updateSeq.h
uniqueIdAllocator.h
vector_typedWritable.h
vector_ulong.h
vector_ushort.h vector_writable.h
weakKeyHashMap.h weakKeyHashMap.I
writableConfigurable.h
writableParam.I writableParam.h
)
@ -109,7 +112,9 @@ set(P3PUTIL_SOURCES
typedWritableReferenceCount.cxx updateSeq.cxx
uniqueIdAllocator.cxx
vector_typedWritable.cxx
vector_ulong.cxx
vector_ushort.cxx vector_writable.cxx
weakKeyHashMap.cxx
writableConfigurable.cxx writableParam.cxx
)

View File

@ -4,8 +4,9 @@ set(P3TFORM_HEADERS
driveInterface.I driveInterface.h
mouseInterfaceNode.I mouseInterfaceNode.h
mouseSubregion.I mouseSubregion.h
mouseWatcher.I mouseWatcher.h
mouseWatcherBase.h mouseWatcherGroup.h
mouseWatcher.h mouseWatcher.I
mouseWatcherBase.h mouseWatcherBase.I
mouseWatcherGroup.h
mouseWatcherParameter.I mouseWatcherParameter.h
mouseWatcherRegion.I mouseWatcherRegion.h
trackball.h