47 lines
1.1 KiB
CMake
47 lines
1.1 KiB
CMake
if(NOT BUILD_TOOLS)
|
|
return()
|
|
endif()
|
|
|
|
if(NOT HAVE_NET)
|
|
return()
|
|
endif()
|
|
|
|
set(P3PSTATSERVER_HEADERS
|
|
pStatClientData.h
|
|
pStatFlameGraph.h pStatFlameGraph.I
|
|
pStatGraph.h pStatGraph.I
|
|
pStatListener.h
|
|
pStatMonitor.h pStatMonitor.I
|
|
pStatPianoRoll.h pStatPianoRoll.I
|
|
pStatReader.h
|
|
pStatServer.h
|
|
pStatStripChart.h pStatStripChart.I
|
|
pStatThreadData.h pStatThreadData.I
|
|
pStatTimeline.h pStatTimeline.I
|
|
pStatView.h pStatView.I
|
|
pStatViewLevel.h pStatViewLevel.I
|
|
)
|
|
|
|
set(P3PSTATSERVER_SOURCES
|
|
pStatClientData.cxx
|
|
pStatFlameGraph.cxx
|
|
pStatGraph.cxx
|
|
pStatListener.cxx
|
|
pStatMonitor.cxx
|
|
pStatPianoRoll.cxx
|
|
pStatReader.cxx
|
|
pStatServer.cxx
|
|
pStatStripChart.cxx
|
|
pStatThreadData.cxx
|
|
pStatTimeline.cxx
|
|
pStatView.cxx
|
|
pStatViewLevel.cxx
|
|
)
|
|
|
|
composite_sources(p3pstatserver P3PSTATSERVER_SOURCES)
|
|
add_library(p3pstatserver STATIC ${P3PSTATSERVER_HEADERS} ${P3PSTATSERVER_SOURCES})
|
|
target_link_libraries(p3pstatserver p3pandatoolbase panda)
|
|
|
|
# This is only needed for binaries in the pandatool package. It is not useful
|
|
# for user applications, so it is not installed.
|