pikapython/port/linux/CMakeLists.txt
Lyon b359062172
Dev (#118)
* add PLOOC

* add PLOOC to kernal

* remove unrequired files

* remove pack

* fix plooc ci in test/*.cpp

* add test_common.h

Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
2022-05-19 20:52:19 +08:00

30 lines
1.0 KiB
CMake

cmake_minimum_required(VERSION 3.0.0)
add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-sign-conversion -Wno-write-strings)
OPTION(PIKA_CONFIG_ENABLE "pika config enable" OFF)
IF(PIKA_CONFIG_ENABLE)
ADD_DEFINITIONS(-DPIKA_CONFIG_ENABLE)
ENDIF(PIKA_CONFIG_ENABLE)
project(pikascript VERSION 0.1.0)
include_directories(package/pikascript/pikascript-core)
include_directories(package/pikascript/pikascript-api)
include_directories(package/pikascript/pikascript-lib/PikaRunExternControl)
include_directories(package/pikascript/pikascript-lib/PikaRunExternControl)
include_directories(test)
include_directories(config)
# include_directories(boot/demo01-led)
add_subdirectory(package/googletest)
add_subdirectory(package/pikascript)
add_subdirectory(test)
# 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)
add_subdirectory(boot/demo06-pikamain)
add_subdirectory(boot/banchmark)
add_subdirectory(benchmark)