EventBus/performance/CMakeLists.txt

20 lines
594 B
CMake
Raw Normal View History

2017-08-05 13:27:35 +02:00
# http://www.levelofindirection.com/journal/2010/12/28/unit-testing-in-c-and-objective-c-just-got-easier.html
# Thanks for CATCH!
ADD_SUBDIRECTORY(benchmark/)
2017-08-05 19:39:20 +02:00
# If you want to compare with CCNotificationCenter read about it in README and uncomment line below
INCLUDE(cocos2d-x-compare/Cocos2dxCompare.cmake)
2017-08-05 13:27:35 +02:00
ADD_EXECUTABLE(EventBusPerformance
eventbus/EventBusPerformance.cpp
2017-08-05 19:39:20 +02:00
${CCNOTIFICATION_CENTER_SRC}
)
TARGET_INCLUDE_DIRECTORIES(EventBusPerformance PRIVATE
./
${CCNOTIFICATION_CENTER_INCLUDE}
2017-08-05 13:27:35 +02:00
)
TARGET_LINK_LIBRARIES(EventBusPerformance PUBLIC Dexode::EventBus benchmark)