17 lines
401 B
CMake
Raw Normal View History

2021-11-28 20:32:09 +08:00
cmake_minimum_required(VERSION 3.0.0)
2021-11-28 22:27:24 +08:00
project(pikaByteCodeGen VERSION 0.1.0)
2021-11-28 20:32:09 +08:00
include(CTest)
enable_testing()
aux_source_directory(pikascript/pikascript-core pikascript-core)
include_directories(pikascript/pikascript-core)
2021-11-28 22:27:24 +08:00
add_executable(pikaByteCodeGen main.c
2021-11-28 20:32:09 +08:00
${pikascript-core}
)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)