mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
CMake: Update pandatool CMakeLists.txt files for style consistency
This commit is contained in:
parent
f07b713e8d
commit
6760c1366d
@ -1,9 +1,14 @@
|
|||||||
set(P3CONVERTER_HEADERS
|
set(P3CONVERTER_HEADERS
|
||||||
somethingToEggConverter.I somethingToEggConverter.h
|
somethingToEggConverter.h somethingToEggConverter.I
|
||||||
eggToSomethingConverter.I eggToSomethingConverter.h)
|
eggToSomethingConverter.h eggToSomethingConverter.I
|
||||||
|
)
|
||||||
|
|
||||||
set(P3CONVERTER_SOURCES
|
set(P3CONVERTER_SOURCES
|
||||||
somethingToEggConverter.cxx eggToSomethingConverter.cxx)
|
somethingToEggConverter.cxx eggToSomethingConverter.cxx
|
||||||
|
)
|
||||||
|
|
||||||
add_library(p3converter STATIC ${P3CONVERTER_HEADERS} ${P3CONVERTER_SOURCES})
|
add_library(p3converter STATIC ${P3CONVERTER_HEADERS} ${P3CONVERTER_SOURCES})
|
||||||
target_link_libraries(p3converter p3pandatoolbase pandaegg)
|
target_link_libraries(p3converter p3pandatoolbase pandaegg)
|
||||||
|
|
||||||
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
|
# for user applications, so it is not installed.
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
set(P3CVSCOPY_HEADERS
|
set(P3CVSCOPY_HEADERS
|
||||||
cvsCopy.h cvsSourceDirectory.h cvsSourceTree.h)
|
cvsCopy.h cvsSourceDirectory.h cvsSourceTree.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3CVSCOPY_SOURCES
|
set(P3CVSCOPY_SOURCES
|
||||||
cvsCopy.cxx cvsSourceDirectory.cxx cvsSourceTree.cxx)
|
cvsCopy.cxx cvsSourceDirectory.cxx cvsSourceTree.cxx
|
||||||
|
)
|
||||||
|
|
||||||
|
composite_sources(p3cvscopy P3CVSCOPY_SOURCES)
|
||||||
add_library(p3cvscopy STATIC ${P3CVSCOPY_HEADERS} ${P3CVSCOPY_SOURCES})
|
add_library(p3cvscopy STATIC ${P3CVSCOPY_HEADERS} ${P3CVSCOPY_SOURCES})
|
||||||
target_link_libraries(p3cvscopy p3progbase)
|
target_link_libraries(p3cvscopy p3progbase)
|
||||||
|
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
set(P3DXF_HEADERS
|
set(P3DXF_HEADERS
|
||||||
dxfFile.h
|
dxfFile.h
|
||||||
dxfLayer.h
|
dxfLayer.h
|
||||||
dxfLayerMap.h
|
dxfLayerMap.h
|
||||||
dxfVertex.h)
|
dxfVertex.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3DXF_SOURCES
|
set(P3DXF_SOURCES
|
||||||
dxfFile.cxx
|
dxfFile.cxx
|
||||||
dxfLayer.cxx
|
dxfLayer.cxx
|
||||||
dxfLayerMap.cxx
|
dxfLayerMap.cxx
|
||||||
dxfVertex.cxx)
|
dxfVertex.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3dxf P3DXF_SOURCES)
|
composite_sources(p3dxf P3DXF_SOURCES)
|
||||||
add_library(p3dxf STATIC ${P3DXF_HEADERS} ${P3DXF_SOURCES})
|
add_library(p3dxf STATIC ${P3DXF_HEADERS} ${P3DXF_SOURCES})
|
||||||
target_link_libraries(p3dxf p3pandatoolbase)
|
target_link_libraries(p3dxf p3pandatoolbase)
|
||||||
|
|
||||||
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
|
# for user applications, so it is not installed.
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
set(P3DXFEGG_HEADERS
|
set(P3DXFEGG_HEADERS
|
||||||
dxfToEggConverter.h
|
dxfToEggConverter.h
|
||||||
dxfToEggLayer.h)
|
dxfToEggLayer.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3DXFEGG_SOURCES
|
set(P3DXFEGG_SOURCES
|
||||||
dxfToEggConverter.cxx
|
dxfToEggConverter.cxx
|
||||||
dxfToEggLayer.cxx)
|
dxfToEggLayer.cxx
|
||||||
|
)
|
||||||
|
|
||||||
add_library(p3dxfegg STATIC ${P3DXFEGG_HEADERS} ${P3DXFEGG_SOURCES})
|
add_library(p3dxfegg STATIC ${P3DXFEGG_HEADERS} ${P3DXFEGG_SOURCES})
|
||||||
target_link_libraries(p3dxfegg p3dxf p3converter)
|
target_link_libraries(p3dxfegg p3dxf p3eggbase)
|
||||||
|
|
||||||
# This is only needed for binaries in the pandatool package. It is not useful
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
# for user applications, so it is not installed.
|
# for user applications, so it is not installed.
|
||||||
|
@ -1,19 +1,24 @@
|
|||||||
set(P3EGGBASE_HEADERS
|
set(P3EGGBASE_HEADERS
|
||||||
eggBase.h eggConverter.h eggFilter.h
|
eggBase.h eggConverter.h eggFilter.h
|
||||||
eggMakeSomething.h
|
eggMakeSomething.h
|
||||||
eggMultiBase.h eggMultiFilter.h
|
eggMultiBase.h eggMultiFilter.h
|
||||||
eggReader.h eggSingleBase.h
|
eggReader.h eggSingleBase.h
|
||||||
eggToSomething.h eggWriter.h
|
eggToSomething.h eggWriter.h
|
||||||
somethingToEgg.h)
|
somethingToEgg.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3EGGBASE_SOURCES
|
set(P3EGGBASE_SOURCES
|
||||||
eggBase.cxx eggConverter.cxx eggFilter.cxx
|
eggBase.cxx eggConverter.cxx eggFilter.cxx
|
||||||
eggMakeSomething.cxx
|
eggMakeSomething.cxx
|
||||||
eggMultiBase.cxx
|
eggMultiBase.cxx
|
||||||
eggMultiFilter.cxx eggReader.cxx eggSingleBase.cxx
|
eggMultiFilter.cxx eggReader.cxx eggSingleBase.cxx
|
||||||
eggToSomething.cxx
|
eggToSomething.cxx
|
||||||
eggWriter.cxx somethingToEgg.cxx)
|
eggWriter.cxx somethingToEgg.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3eggbase P3EGGBASE_SOURCES)
|
composite_sources(p3eggbase P3EGGBASE_SOURCES)
|
||||||
add_library(p3eggbase STATIC ${P3EGGBASE_HEADERS} ${P3EGGBASE_SOURCES})
|
add_library(p3eggbase STATIC ${P3EGGBASE_HEADERS} ${P3EGGBASE_SOURCES})
|
||||||
target_link_libraries(p3eggbase p3progbase p3converter)
|
target_link_libraries(p3eggbase p3progbase p3converter)
|
||||||
|
|
||||||
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
|
# for user applications, so it is not installed.
|
||||||
|
@ -1,85 +1,90 @@
|
|||||||
set(P3FLT_HEADERS
|
set(P3FLT_HEADERS
|
||||||
config_flt.h
|
config_flt.h
|
||||||
fltBead.h
|
fltBead.h
|
||||||
fltBeadID.h
|
fltBeadID.h
|
||||||
fltCurve.I fltCurve.h
|
fltCurve.h fltCurve.I
|
||||||
fltError.h
|
fltError.h
|
||||||
fltExternalReference.h
|
fltExternalReference.h
|
||||||
fltEyepoint.h
|
fltEyepoint.h
|
||||||
fltFace.I fltFace.h
|
fltFace.h fltFace.I
|
||||||
fltGeometry.I fltGeometry.h
|
fltGeometry.h fltGeometry.I
|
||||||
fltGroup.h
|
fltGroup.h
|
||||||
fltHeader.h
|
fltHeader.h
|
||||||
fltInstanceDefinition.h
|
fltInstanceDefinition.h
|
||||||
fltInstanceRef.h
|
fltInstanceRef.h
|
||||||
fltLightSourceDefinition.h
|
fltLightSourceDefinition.h
|
||||||
fltLocalVertexPool.I fltLocalVertexPool.h
|
fltLocalVertexPool.h fltLocalVertexPool.I
|
||||||
fltLOD.h
|
fltLOD.h
|
||||||
fltMaterial.h
|
fltMaterial.h
|
||||||
fltMesh.I fltMesh.h
|
fltMesh.h fltMesh.I
|
||||||
fltMeshPrimitive.I fltMeshPrimitive.h
|
fltMeshPrimitive.h fltMeshPrimitive.I
|
||||||
fltObject.h
|
fltObject.h
|
||||||
fltOpcode.h
|
fltOpcode.h
|
||||||
fltPackedColor.I fltPackedColor.h
|
fltPackedColor.h fltPackedColor.I
|
||||||
fltRecord.I fltRecord.h
|
fltRecord.h fltRecord.I
|
||||||
fltRecordReader.h
|
fltRecordReader.h
|
||||||
fltRecordWriter.h
|
fltRecordWriter.h
|
||||||
fltTexture.h
|
fltTexture.h
|
||||||
fltTrackplane.h
|
fltTrackplane.h
|
||||||
fltTransformGeneralMatrix.h
|
fltTransformGeneralMatrix.h
|
||||||
fltTransformPut.h
|
fltTransformPut.h
|
||||||
fltTransformRecord.h
|
fltTransformRecord.h
|
||||||
fltTransformRotateAboutEdge.h
|
fltTransformRotateAboutEdge.h
|
||||||
fltTransformRotateAboutPoint.h
|
fltTransformRotateAboutPoint.h
|
||||||
fltTransformRotateScale.h
|
fltTransformRotateScale.h
|
||||||
fltTransformScale.h
|
fltTransformScale.h
|
||||||
fltTransformTranslate.h
|
fltTransformTranslate.h
|
||||||
fltUnsupportedRecord.h
|
fltUnsupportedRecord.h
|
||||||
fltVectorRecord.h
|
fltVectorRecord.h
|
||||||
fltVertex.I fltVertex.h
|
fltVertex.h fltVertex.I
|
||||||
fltVertexList.h)
|
fltVertexList.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3FLT_SOURCES
|
set(P3FLT_SOURCES
|
||||||
config_flt.cxx
|
config_flt.cxx
|
||||||
fltBead.cxx
|
fltBead.cxx
|
||||||
fltBeadID.cxx
|
fltBeadID.cxx
|
||||||
fltCurve.cxx
|
fltCurve.cxx
|
||||||
fltError.cxx
|
fltError.cxx
|
||||||
fltExternalReference.cxx
|
fltExternalReference.cxx
|
||||||
fltEyepoint.cxx
|
fltEyepoint.cxx
|
||||||
fltFace.cxx
|
fltFace.cxx
|
||||||
fltGeometry.cxx
|
fltGeometry.cxx
|
||||||
fltGroup.cxx
|
fltGroup.cxx
|
||||||
fltHeader.cxx
|
fltHeader.cxx
|
||||||
fltInstanceDefinition.cxx
|
fltInstanceDefinition.cxx
|
||||||
fltInstanceRef.cxx
|
fltInstanceRef.cxx
|
||||||
fltLightSourceDefinition.cxx
|
fltLightSourceDefinition.cxx
|
||||||
fltLocalVertexPool.cxx
|
fltLocalVertexPool.cxx
|
||||||
fltLOD.cxx
|
fltLOD.cxx
|
||||||
fltMaterial.cxx
|
fltMaterial.cxx
|
||||||
fltMesh.cxx
|
fltMesh.cxx
|
||||||
fltMeshPrimitive.cxx
|
fltMeshPrimitive.cxx
|
||||||
fltObject.cxx
|
fltObject.cxx
|
||||||
fltOpcode.cxx
|
fltOpcode.cxx
|
||||||
fltPackedColor.cxx
|
fltPackedColor.cxx
|
||||||
fltRecord.cxx
|
fltRecord.cxx
|
||||||
fltRecordReader.cxx
|
fltRecordReader.cxx
|
||||||
fltRecordWriter.cxx
|
fltRecordWriter.cxx
|
||||||
fltTexture.cxx
|
fltTexture.cxx
|
||||||
fltTrackplane.cxx
|
fltTrackplane.cxx
|
||||||
fltTransformGeneralMatrix.cxx
|
fltTransformGeneralMatrix.cxx
|
||||||
fltTransformPut.cxx
|
fltTransformPut.cxx
|
||||||
fltTransformRecord.cxx
|
fltTransformRecord.cxx
|
||||||
fltTransformRotateAboutEdge.cxx
|
fltTransformRotateAboutEdge.cxx
|
||||||
fltTransformRotateAboutPoint.cxx
|
fltTransformRotateAboutPoint.cxx
|
||||||
fltTransformRotateScale.cxx
|
fltTransformRotateScale.cxx
|
||||||
fltTransformScale.cxx
|
fltTransformScale.cxx
|
||||||
fltTransformTranslate.cxx
|
fltTransformTranslate.cxx
|
||||||
fltUnsupportedRecord.cxx
|
fltUnsupportedRecord.cxx
|
||||||
fltVectorRecord.cxx
|
fltVectorRecord.cxx
|
||||||
fltVertex.cxx
|
fltVertex.cxx
|
||||||
fltVertexList.cxx)
|
fltVertexList.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3flt P3FLT_SOURCES)
|
composite_sources(p3flt P3FLT_SOURCES)
|
||||||
add_library(p3flt STATIC ${P3FLT_HEADERS} ${P3FLT_SOURCES})
|
add_library(p3flt STATIC ${P3FLT_HEADERS} ${P3FLT_SOURCES})
|
||||||
target_link_libraries(p3flt p3pandatoolbase panda)
|
target_link_libraries(p3flt p3pandatoolbase panda)
|
||||||
|
|
||||||
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
|
# for user applications, so it is not installed.
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
set(P3FLTEGG_HEADERS
|
set(P3FLTEGG_HEADERS
|
||||||
fltToEggConverter.I fltToEggConverter.h
|
fltToEggConverter.h fltToEggConverter.I
|
||||||
fltToEggLevelState.I fltToEggLevelState.h)
|
fltToEggLevelState.h fltToEggLevelState.I
|
||||||
|
)
|
||||||
|
|
||||||
set(P3FLTEGG_SOURCES
|
set(P3FLTEGG_SOURCES
|
||||||
fltToEggConverter.cxx
|
fltToEggConverter.cxx
|
||||||
fltToEggLevelState.cxx)
|
fltToEggLevelState.cxx
|
||||||
|
)
|
||||||
|
|
||||||
add_library(p3fltegg STATIC ${P3FLTEGG_HEADERS} ${P3FLTEGG_SOURCES})
|
add_library(p3fltegg STATIC ${P3FLTEGG_HEADERS} ${P3FLTEGG_SOURCES})
|
||||||
target_link_libraries(p3fltegg p3flt p3converter)
|
target_link_libraries(p3fltegg p3flt p3eggbase)
|
||||||
|
|
||||||
# This is only needed for binaries in the pandatool package. It is not useful
|
# This is only needed for binaries in the pandatool package. It is not useful
|
||||||
# for user applications, so it is not installed.
|
# for user applications, so it is not installed.
|
||||||
|
@ -3,26 +3,28 @@ if(NOT HAVE_GTK2 OR NOT HAVE_NET)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(GTKSTATS_HEADERS
|
set(GTKSTATS_HEADERS
|
||||||
gtkStatsChartMenu.h
|
gtkStatsChartMenu.h
|
||||||
gtkStatsGraph.h
|
gtkStatsGraph.h
|
||||||
gtkStatsLabel.h
|
gtkStatsLabel.h
|
||||||
gtkStatsLabelStack.h
|
gtkStatsLabelStack.h
|
||||||
gtkStatsMenuId.h
|
gtkStatsMenuId.h
|
||||||
gtkStatsMonitor.h gtkStatsMonitor.I
|
gtkStatsMonitor.h gtkStatsMonitor.I
|
||||||
gtkStatsPianoRoll.h
|
gtkStatsPianoRoll.h
|
||||||
gtkStatsServer.h
|
gtkStatsServer.h
|
||||||
gtkStatsStripChart.h)
|
gtkStatsStripChart.h
|
||||||
|
)
|
||||||
|
|
||||||
set(GTKSTATS_SOURCES
|
set(GTKSTATS_SOURCES
|
||||||
gtkStats.cxx
|
gtkStats.cxx
|
||||||
gtkStatsChartMenu.cxx
|
gtkStatsChartMenu.cxx
|
||||||
gtkStatsGraph.cxx
|
gtkStatsGraph.cxx
|
||||||
gtkStatsLabel.cxx
|
gtkStatsLabel.cxx
|
||||||
gtkStatsLabelStack.cxx
|
gtkStatsLabelStack.cxx
|
||||||
gtkStatsMonitor.cxx
|
gtkStatsMonitor.cxx
|
||||||
gtkStatsPianoRoll.cxx
|
gtkStatsPianoRoll.cxx
|
||||||
gtkStatsServer.cxx
|
gtkStatsServer.cxx
|
||||||
gtkStatsStripChart.cxx)
|
gtkStatsStripChart.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(gtkstats GTKSTATS_SOURCES)
|
composite_sources(gtkstats GTKSTATS_SOURCES)
|
||||||
add_executable(gtkstats ${GTKSTATS_HEADERS} ${GTKSTATS_SOURCES})
|
add_executable(gtkstats ${GTKSTATS_HEADERS} ${GTKSTATS_SOURCES})
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
set(P3PANDATOOLBASE_HEADERS
|
set(P3PANDATOOLBASE_HEADERS
|
||||||
animationConvert.h
|
animationConvert.h
|
||||||
config_pandatoolbase.h
|
config_pandatoolbase.h
|
||||||
distanceUnit.h
|
distanceUnit.h
|
||||||
pandatoolbase.h pandatoolsymbols.h
|
pandatoolbase.h pandatoolsymbols.h
|
||||||
pathReplace.I pathReplace.h
|
pathReplace.h pathReplace.I
|
||||||
pathStore.h)
|
pathStore.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3PANDATOOLBASE_SOURCES
|
set(P3PANDATOOLBASE_SOURCES
|
||||||
animationConvert.cxx
|
animationConvert.cxx
|
||||||
config_pandatoolbase.cxx
|
config_pandatoolbase.cxx
|
||||||
distanceUnit.cxx
|
distanceUnit.cxx
|
||||||
pandatoolbase.cxx
|
pandatoolbase.cxx
|
||||||
pathReplace.cxx
|
pathReplace.cxx
|
||||||
pathStore.cxx)
|
pathStore.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3pandatoolbase P3PANDATOOLBASE_SOURCES)
|
composite_sources(p3pandatoolbase P3PANDATOOLBASE_SOURCES)
|
||||||
add_library(p3pandatoolbase STATIC ${P3PANDATOOLBASE_HEADERS} ${P3PANDATOOLBASE_SOURCES})
|
add_library(p3pandatoolbase STATIC ${P3PANDATOOLBASE_HEADERS} ${P3PANDATOOLBASE_SOURCES})
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
set(P3PROGBASE_HEADERS
|
set(P3PROGBASE_HEADERS
|
||||||
programBase.I programBase.h
|
programBase.h programBase.I
|
||||||
withOutputFile.I withOutputFile.h
|
withOutputFile.h withOutputFile.I
|
||||||
wordWrapStream.h wordWrapStreamBuf.I
|
wordWrapStream.h wordWrapStreamBuf.I
|
||||||
wordWrapStreamBuf.h)
|
wordWrapStreamBuf.h
|
||||||
|
)
|
||||||
|
|
||||||
set(P3PROGBASE_SOURCES
|
set(P3PROGBASE_SOURCES
|
||||||
programBase.cxx withOutputFile.cxx wordWrapStream.cxx
|
programBase.cxx withOutputFile.cxx wordWrapStream.cxx
|
||||||
wordWrapStreamBuf.cxx)
|
wordWrapStreamBuf.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3progbase P3PROGBASE_SOURCES)
|
composite_sources(p3progbase P3PROGBASE_SOURCES)
|
||||||
add_library(p3progbase STATIC ${P3PROGBASE_HEADERS} ${P3PROGBASE_SOURCES})
|
add_library(p3progbase STATIC ${P3PROGBASE_HEADERS} ${P3PROGBASE_SOURCES})
|
||||||
|
@ -3,22 +3,27 @@ if(NOT HAVE_NET)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(P3PSTATSERVER_HEADERS
|
set(P3PSTATSERVER_HEADERS
|
||||||
pStatClientData.h pStatGraph.I
|
pStatClientData.h
|
||||||
pStatGraph.h pStatListener.h pStatMonitor.I
|
pStatGraph.h pStatGraph.I
|
||||||
pStatMonitor.h pStatPianoRoll.I
|
pStatListener.h
|
||||||
pStatPianoRoll.h pStatReader.h
|
pStatMonitor.h pStatMonitor.I
|
||||||
pStatServer.h pStatStripChart.I
|
pStatPianoRoll.h pStatPianoRoll.I
|
||||||
pStatStripChart.h pStatThreadData.I
|
pStatReader.h
|
||||||
pStatThreadData.h pStatView.I pStatView.h
|
pStatServer.h
|
||||||
pStatViewLevel.I pStatViewLevel.h)
|
pStatStripChart.h pStatStripChart.I
|
||||||
|
pStatThreadData.h pStatThreadData.I
|
||||||
|
pStatView.h pStatView.I
|
||||||
|
pStatViewLevel.h pStatViewLevel.I
|
||||||
|
)
|
||||||
|
|
||||||
set(P3PSTATSERVER_SOURCES
|
set(P3PSTATSERVER_SOURCES
|
||||||
pStatClientData.cxx pStatGraph.cxx
|
pStatClientData.cxx pStatGraph.cxx
|
||||||
pStatListener.cxx
|
pStatListener.cxx
|
||||||
pStatMonitor.cxx pStatPianoRoll.cxx
|
pStatMonitor.cxx pStatPianoRoll.cxx
|
||||||
pStatReader.cxx pStatServer.cxx
|
pStatReader.cxx pStatServer.cxx
|
||||||
pStatStripChart.cxx pStatThreadData.cxx
|
pStatStripChart.cxx pStatThreadData.cxx
|
||||||
pStatView.cxx pStatViewLevel.cxx)
|
pStatView.cxx pStatViewLevel.cxx
|
||||||
|
)
|
||||||
|
|
||||||
composite_sources(p3pstatserver P3PSTATSERVER_SOURCES)
|
composite_sources(p3pstatserver P3PSTATSERVER_SOURCES)
|
||||||
add_library(p3pstatserver STATIC ${P3PSTATSERVER_HEADERS} ${P3PSTATSERVER_SOURCES})
|
add_library(p3pstatserver STATIC ${P3PSTATSERVER_HEADERS} ${P3PSTATSERVER_SOURCES})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user