mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
17 lines
401 B
CMake
17 lines
401 B
CMake
cmake_minimum_required(VERSION 3.0.0)
|
|
project(pikaByteCodeGen VERSION 0.1.0)
|
|
|
|
include(CTest)
|
|
enable_testing()
|
|
|
|
aux_source_directory(pikascript/pikascript-core pikascript-core)
|
|
include_directories(pikascript/pikascript-core)
|
|
|
|
add_executable(pikaByteCodeGen main.c
|
|
${pikascript-core}
|
|
)
|
|
|
|
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
|
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
|
include(CPack)
|