CMake: Build bam2egg and egg2bam.
This commit is contained in:
parent
3ed813f42f
commit
5e2f3f777b
|
|
@ -5,5 +5,8 @@ endif()
|
|||
# Include pandatool source directories
|
||||
add_subdirectory(src/pandatoolbase)
|
||||
add_subdirectory(src/progbase)
|
||||
add_subdirectory(src/converter)
|
||||
add_subdirectory(src/eggbase)
|
||||
add_subdirectory(src/bam)
|
||||
add_subdirectory(src/pstatserver)
|
||||
add_subdirectory(src/gtk-stats)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
add_executable(bam-info bamInfo.cxx bamInfo.h)
|
||||
target_link_libraries(bam-info p3progbase p3pgraph p3pgraphnodes p3recorder p3pystub
|
||||
p3display) # This is a HACK for now -- fix Interrogate
|
||||
install(TARGETS bam-info DESTINATION bin)
|
||||
|
||||
add_executable(egg2bam eggToBam.cxx eggToBam.h)
|
||||
target_link_libraries(egg2bam p3eggbase p3progbase)
|
||||
install(TARGETS egg2bam DESTINATION bin)
|
||||
|
||||
add_executable(bam2egg bamToEgg.cxx bamToEgg.h)
|
||||
target_link_libraries(bam2egg p3converter p3eggbase p3progbase)
|
||||
install(TARGETS bam2egg DESTINATION bin)
|
||||
|
||||
add_executable(pts2bam ptsToBam.cxx ptsToBam.h)
|
||||
target_link_libraries(pts2bam p3progbase p3pgraph p3pgraphnodes p3egg2pg p3pystub)
|
||||
install(TARGETS pts2bam DESTINATION bin)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
set(P3CONVERTER_HEADERS
|
||||
somethingToEggConverter.I somethingToEggConverter.h
|
||||
eggToSomethingConverter.I eggToSomethingConverter.h)
|
||||
|
||||
set(P3CONVERTER_SOURCES
|
||||
somethingToEggConverter.cxx eggToSomethingConverter.cxx)
|
||||
|
||||
add_library(p3converter STATIC ${P3CONVERTER_HEADERS} ${P3CONVERTER_SOURCES})
|
||||
target_link_libraries(p3converter p3pandatoolbase p3egg2pg p3recorder p3pystub)
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
set(P3EGGBASE_HEADERS
|
||||
eggBase.h eggConverter.h eggFilter.h
|
||||
eggMakeSomething.h
|
||||
eggMultiBase.h eggMultiFilter.h
|
||||
eggReader.h eggSingleBase.h
|
||||
eggToSomething.h eggWriter.h
|
||||
somethingToEgg.h)
|
||||
|
||||
set(P3EGGBASE_SOURCES
|
||||
eggBase.cxx eggConverter.cxx eggFilter.cxx
|
||||
eggMakeSomething.cxx
|
||||
eggMultiBase.cxx
|
||||
eggMultiFilter.cxx eggReader.cxx eggSingleBase.cxx
|
||||
eggToSomething.cxx
|
||||
eggWriter.cxx somethingToEgg.cxx)
|
||||
|
||||
composite_sources(p3eggbase P3EGGBASE_SOURCES)
|
||||
add_library(p3eggbase STATIC ${P3EGGBASE_HEADERS} ${P3EGGBASE_SOURCES})
|
||||
target_link_libraries(p3eggbase p3progbase p3converter)
|
||||
Loading…
Reference in New Issue