mirror of
https://gitee.com/apaki/unicstl.git
synced 2025-05-17 19:41:36 +08:00
23 lines
317 B
Plaintext
23 lines
317 B
Plaintext
|
|
# set the name of project
|
|
project(test)
|
|
|
|
# include
|
|
include_directories(.)
|
|
|
|
# add src
|
|
aux_source_directory(. SRCS)
|
|
|
|
# generate target
|
|
add_executable(${PROJECT_NAME} ${SRCS})
|
|
|
|
# link libary
|
|
target_link_libraries(
|
|
${PROJECT_NAME}
|
|
unicstl
|
|
unity
|
|
)
|
|
|
|
# install
|
|
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
|