基于C++ Coroutines提案 ‘Stackless Resumable Functions’编写的协程库
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910111213 |
- set(TUTORIAL_FILES "")
- aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} TUTORIAL_FILES)
-
- foreach(TUTORIAL_FILE_PATH ${TUTORIAL_FILES})
- string(REGEX REPLACE ".+[/\]([^/\.]+)\\.cpp" "\\1" TUTORIAL_FILE_NAME ${TUTORIAL_FILE_PATH})
- message(STATUS "Generating test target: ${TUTORIAL_FILE_NAME}")
-
- add_executable(${TUTORIAL_FILE_NAME} ${TUTORIAL_FILE_PATH})
- target_link_libraries(${TUTORIAL_FILE_NAME} PUBLIC librf)
- target_compile_definitions(${TUTORIAL_FILE_NAME}
- PRIVATE LIBRF_TUTORIAL_STAND_ALONE=1
- )
- endforeach(TUTORIAL_FILE_PATH)
|