mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
CMake: Build text-stats and win-stats
This commit is contained in:
parent
5c1b525636
commit
8b58b5a6ed
@ -36,9 +36,11 @@ add_subdirectory(src/pfmprogs)
|
||||
add_subdirectory(src/progbase)
|
||||
add_subdirectory(src/pstatserver)
|
||||
add_subdirectory(src/ptloader)
|
||||
add_subdirectory(src/text-stats)
|
||||
add_subdirectory(src/vrml)
|
||||
add_subdirectory(src/vrmlegg)
|
||||
add_subdirectory(src/vrmlprogs)
|
||||
add_subdirectory(src/win-stats)
|
||||
add_subdirectory(src/xfile)
|
||||
add_subdirectory(src/xfileegg)
|
||||
add_subdirectory(src/xfileprogs)
|
||||
|
19
pandatool/src/text-stats/CMakeLists.txt
Normal file
19
pandatool/src/text-stats/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
if(NOT HAVE_NET)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(TEXTSTATS_HEADERS
|
||||
textMonitor.h textMonitor.I
|
||||
textStats.h
|
||||
)
|
||||
|
||||
set(TEXTSTATS_SOURCES
|
||||
textMonitor.cxx
|
||||
textStats.cxx
|
||||
)
|
||||
|
||||
composite_sources(text-stats TEXTSTATS_SOURCES)
|
||||
add_executable(text-stats ${TEXTSTATS_HEADERS} ${TEXTSTATS_SOURCES})
|
||||
target_link_libraries(text-stats p3progbase p3pstatserver)
|
||||
|
||||
install(TARGETS text-stats EXPORT Tools COMPONENT Tools DESTINATION bin)
|
37
pandatool/src/win-stats/CMakeLists.txt
Normal file
37
pandatool/src/win-stats/CMakeLists.txt
Normal file
@ -0,0 +1,37 @@
|
||||
if(NOT WIN32 OR NOT HAVE_NET)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(WINSTATS_HEADERS
|
||||
winStatsChartMenu.h
|
||||
winStatsGraph.h
|
||||
winStats.h
|
||||
winStatsLabel.h
|
||||
winStatsLabelStack.h
|
||||
winStatsMenuId.h
|
||||
winStatsMonitor.h winStatsMonitor.I
|
||||
winStatsPianoRoll.h
|
||||
winStatsServer.h
|
||||
winStatsStripChart.h
|
||||
)
|
||||
|
||||
set(WINSTATS_SOURCES
|
||||
winStatsChartMenu.cxx
|
||||
winStats.cxx
|
||||
winStatsGraph.cxx
|
||||
winStatsLabel.cxx
|
||||
winStatsLabelStack.cxx
|
||||
winStatsMonitor.cxx
|
||||
winStatsPianoRoll.cxx
|
||||
winStatsServer.cxx
|
||||
winStatsStripChart.cxx
|
||||
)
|
||||
|
||||
composite_sources(win-stats WINSTATS_SOURCES)
|
||||
add_executable(win-stats ${WINSTATS_HEADERS} ${WINSTATS_SOURCES})
|
||||
target_link_libraries(win-stats p3progbase p3pstatserver)
|
||||
|
||||
# This program is NOT actually called win-stats. It's just pstats.exe
|
||||
set_target_properties(win-stats PROPERTIES OUTPUT_NAME "pstats")
|
||||
|
||||
install(TARGETS win-stats EXPORT Tools COMPONENT Tools DESTINATION bin)
|
Loading…
x
Reference in New Issue
Block a user