Add commented test to panda/src/express/CMakeLists, emulating Sources.pp

This commit is contained in:
kestred 2014-01-19 00:17:44 -07:00
parent 9dd82f90c2
commit 58d54eb4fe
2 changed files with 15 additions and 0 deletions

View File

@ -2,6 +2,7 @@
# with invalid HEADER_FILE_ONLY behavior in MSVC 2010.
cmake_minimum_required(VERSION 2.8.4)
project(Panda3D)
enable_testing()
# Add generic modules to cmake module path,
# and add Panda3D specific modules to cmake module path

View File

@ -126,3 +126,17 @@ composite_sources(p3express P3EXPRESS_SOURCES)
add_library(p3express ${P3EXPRESS_SOURCES} ${P3EXPRESS_HEADERS})
target_link_libraries(p3express p3pandabase p3dtool p3dtoolconfig)
target_interrogate(p3express ALL)
#add_executable(p3expressTestTypes test_types.cxx)
#target_link_libraries(p3expressTestTypes p3express p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub)
#add_test(p3express_test_types p3expressTestTypes)
#add_executable(p3expressTestOrderedVector test_ordered_vector.cxx)
#target_link_libraries(p3expressTestOrderedVector p3putil p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub)
#add_test(p3express_test_ordered_vector p3expressTestOrderedVector)
if(HAVE_ZLIB)
#add_executable(p3expressTestBinTarget test_zstream.cxx)
#target_link_libraries(p3expressTestBinTarget p3express p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub)
#add_test(p3express_test_zstream p3expressTestBinTarget)
endif()