cmake: Adjust for upstream changes.

This commit is contained in:
Sam Edwards 2016-06-25 19:10:18 -07:00
parent fffd105f96
commit 50f89f5fd5
7 changed files with 15 additions and 4 deletions

View File

@ -22,9 +22,9 @@ endif()
add_subdirectory(src/configfiles)
add_subdirectory(src/pandabase)
add_subdirectory(src/express)
add_subdirectory(src/pipeline)
add_subdirectory(src/downloader)
add_subdirectory(src/downloadertools)
add_subdirectory(src/pipeline)
add_subdirectory(src/nativenet)
add_subdirectory(src/net)
add_subdirectory(src/linmath)

View File

@ -69,7 +69,7 @@ set(P3DOWNLOADER_IGATEEXT
composite_sources(p3downloader P3DOWNLOADER_SOURCES)
add_library(p3downloader ${P3DOWNLOADER_HEADERS} ${P3DOWNLOADER_SOURCES})
target_link_libraries(p3downloader p3express)
target_link_libraries(p3downloader p3express p3pipeline)
target_interrogate(p3downloader ALL EXTENSIONS ${P3DOWNLOADER_IGATEEXT})
install(TARGETS p3downloader DESTINATION lib)

View File

@ -1,5 +1,7 @@
set(P3MOVIES_HEADERS
config_movies.h
flacAudio.h flacAudio.I
flacAudioCursor.h flacAudioCursor.I
inkblotVideo.h inkblotVideo.I
inkblotVideoCursor.h inkblotVideoCursor.I
microphoneAudio.h microphoneAudio.I
@ -17,6 +19,8 @@ set(P3MOVIES_HEADERS
set(P3MOVIES_SOURCES
config_movies.cxx
flacAudio.cxx
flacAudioCursor.cxx
inkblotVideo.cxx
inkblotVideoCursor.cxx
microphoneAudio.cxx

View File

@ -15,6 +15,7 @@ if(WANT_NATIVE_NET)
set(P3NATIVENET_SOURCES
config_nativenet.cxx
buffered_datagramconnection.cxx
socket_address.cxx
socket_ip.cxx
socket_tcp.cxx
socket_tcp_listen.cxx
@ -25,7 +26,7 @@ if(WANT_NATIVE_NET)
composite_sources(p3nativenet P3NATIVENET_SOURCES)
add_library(p3nativenet ${P3NATIVENET_HEADERS} ${P3NATIVENET_SOURCES})
target_link_libraries(p3nativenet p3express p3pandabase)
target_link_libraries(p3nativenet p3express p3pandabase p3downloader)
target_interrogate(p3nativenet ALL)
install(TARGETS p3nativenet DESTINATION lib)

View File

@ -82,7 +82,7 @@ if(HAVE_ODE)
composite_sources(p3ode P3ODE_SOURCES)
add_library(p3ode ${P3ODE_SOURCES} ${P3ODE_HEADERS})
#set_target_properties(p3ode PROPERTIES COMPILE_DEFINITIONS dSINGLE)
set_target_properties(p3ode PROPERTIES COMPILE_DEFINITIONS dSINGLE)
target_link_libraries(p3ode p3pgraph p3physics ${ODE_LIBRARY})
target_interrogate(p3ode ${P3ODE_IGATE_SOURCES} EXTENSIONS ${P3ODE_IGATEEXT})

View File

@ -14,6 +14,7 @@ set(P3PGRAPHNODES_HEADERS
selectiveChildNode.h selectiveChildNode.I
sequenceNode.h sequenceNode.I
shaderGenerator.h shaderGenerator.I
sphereLight.h sphereLight.I
spotlight.h spotlight.I
switchNode.h switchNode.I
uvScrollNode.I uvScrollNode.h
@ -35,6 +36,7 @@ set(P3PGRAPHNODES_SOURCES
selectiveChildNode.cxx
sequenceNode.cxx
shaderGenerator.cxx
sphereLight.cxx
spotlight.cxx
switchNode.cxx
uvScrollNode.cxx

View File

@ -1,10 +1,12 @@
set(P3PNMIMAGETYPES_HEADERS
config_pnmimagetypes.h pnmFileTypeBMP.h
pnmFileTypeEXR.h
pnmFileTypeIMG.h
pnmFileTypePNG.h
pnmFileTypePNM.h
pnmFileTypePfm.h
pnmFileTypeSGI.h pnmFileTypeSoftImage.h
pnmFileTypeStbImage.h
pnmFileTypeTGA.h
pnmFileTypeTIFF.h
pnmFileTypeJPG.h
@ -14,6 +16,7 @@ set(P3PNMIMAGETYPES_SOURCES
config_pnmimagetypes.cxx
pnmFileTypeBMPReader.cxx pnmFileTypeBMPWriter.cxx
pnmFileTypeBMP.cxx
pnmFileTypeEXR.cxx
pnmFileTypeIMG.cxx
pnmFileTypeJPG.cxx pnmFileTypeJPGReader.cxx pnmFileTypeJPGWriter.cxx
pnmFileTypePNG.cxx
@ -22,6 +25,7 @@ set(P3PNMIMAGETYPES_SOURCES
pnmFileTypeSGI.cxx
pnmFileTypeSGIReader.cxx pnmFileTypeSGIWriter.cxx
pnmFileTypeSoftImage.cxx
pnmFileTypeStbImage.cxx
pnmFileTypeTIFF.cxx
pnmFileTypeTGA.cxx
)