chore: update CMakeLists.txt
- update CMakeLists.txt. Add an option to disable the generation of testbench. - rename testbench name to YYCCTestbench. - allow emoji test in code.
This commit is contained in:
@ -4,9 +4,14 @@ project(YYCC
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
# Provide options
|
||||
option(YYCC_BUILD_TESTBENCH "Build testbench of YYCCommonplace." OFF)
|
||||
|
||||
# Import 2 build targets
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(testbench)
|
||||
if (YYCC_BUILD_TESTBENCH)
|
||||
add_subdirectory(testbench)
|
||||
endif ()
|
||||
|
||||
# Install project package infos
|
||||
# Package target
|
||||
|
Reference in New Issue
Block a user