1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 06:34:48 +00:00
janet/cmake/gencore.cmake

11 lines
235 B
CMake
Raw Normal View History

2018-03-18 13:13:21 +00:00
# Include bin2h cmake code
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
include(bin2h)
bin2h (
2018-07-04 04:17:34 +00:00
SOURCE_FILE ${CMAKE_CURRENT_LIST_DIR}/../src/core/core.dst
HEADER_FILE "generated/core.h"
VARIABLE_NAME dst_gen_core
)