2021-08-21 16:33:39 +08:00
|
|
|
cmake_minimum_required(VERSION 3.0.0)
|
2022-04-30 21:13:42 +08:00
|
|
|
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-sign-conversion -Wno-write-strings)
|
2022-03-09 10:21:10 +08:00
|
|
|
OPTION(PIKA_CONFIG_ENABLE "pika config enable" OFF)
|
|
|
|
IF(PIKA_CONFIG_ENABLE)
|
2022-04-14 18:31:54 +08:00
|
|
|
ADD_DEFINITIONS(-DPIKA_CONFIG_ENABLE)
|
2022-03-09 10:21:10 +08:00
|
|
|
ENDIF(PIKA_CONFIG_ENABLE)
|
2021-11-14 18:39:08 +08:00
|
|
|
|
2021-08-21 16:47:50 +08:00
|
|
|
project(pikascript VERSION 0.1.0)
|
2021-08-21 16:33:39 +08:00
|
|
|
|
2022-05-04 19:53:54 +08:00
|
|
|
|
2021-10-01 09:06:17 +08:00
|
|
|
include_directories(package/pikascript/pikascript-core)
|
|
|
|
include_directories(package/pikascript/pikascript-api)
|
2021-10-12 23:29:16 +08:00
|
|
|
include_directories(package/pikascript/pikascript-lib/PikaRunExternControl)
|
2022-03-09 10:21:10 +08:00
|
|
|
include_directories(package/pikascript/pikascript-lib/PikaRunExternControl)
|
2022-05-19 20:52:19 +08:00
|
|
|
include_directories(test)
|
2022-04-14 18:55:11 +08:00
|
|
|
include_directories(config)
|
2021-11-15 09:35:48 +08:00
|
|
|
# include_directories(boot/demo01-led)
|
2021-10-01 09:06:17 +08:00
|
|
|
add_subdirectory(package/googletest)
|
|
|
|
add_subdirectory(package/pikascript)
|
|
|
|
add_subdirectory(test)
|
2021-11-15 09:35:48 +08:00
|
|
|
# add_subdirectory(boot/demo01-led)
|
|
|
|
# add_subdirectory(boot/demo02-add)
|
|
|
|
# add_subdirectory(boot/demo03-usart)
|
|
|
|
# add_subdirectory(boot/demo04-usarts)
|
|
|
|
# add_subdirectory(boot/demo05-sysobject)
|
2022-01-06 16:17:40 +08:00
|
|
|
add_subdirectory(boot/demo06-pikamain)
|
2021-10-01 09:06:17 +08:00
|
|
|
add_subdirectory(boot/banchmark)
|
2022-01-04 00:16:43 +08:00
|
|
|
add_subdirectory(benchmark)
|
2021-08-21 16:33:39 +08:00
|
|
|
|