| 123456789101112131415161718192021222324252627 |
- set(PythonSrc
- PythonInit.cc
- PythonEntry.cc
- )
- add_library(PythonEntry ${PythonSrc})
- include_directories(/usr/include/python2.6)
- add_executable(PythonInitTest PythonInitTest.cc)
- add_executable(PythonEntryTest PythonEntryTest.cc)
- set(Excutes
- PythonInitTest
- PythonEntryTest
- )
- foreach(Excute ${Excutes})
- target_link_libraries(${Excute}
- PythonEntry
- boost_python
- python2.6
- glog
- gtest
- gmock
- )
- add_test(${Excute} ${Excute})
- endforeach()
|