mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
9 lines
307 B
CMake
9 lines
307 B
CMake
set(BINARY ${CMAKE_PROJECT_NAME}_banchmark)
|
|
file(GLOB_RECURSE THIS_SOURCES LIST_DIRECTORIES false *.h *.cpp *.c)
|
|
set(SOURCES ${THIS_SOURCES})
|
|
add_executable(${BINARY} ${THIS_SOURCES})
|
|
# 链接src生成的lib库和gtest库
|
|
target_link_libraries(${BINARY} PUBLIC
|
|
${CMAKE_PROJECT_NAME}-core
|
|
)
|