mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 08:20:27 +00:00
Fix CMake build.
This commit is contained in:
parent
52492282f2
commit
1ab8d19cf3
@ -75,7 +75,7 @@ src/core/state.h
|
|||||||
src/core/symcache.h
|
src/core/symcache.h
|
||||||
src/core/util.h
|
src/core/util.h
|
||||||
|
|
||||||
src/include/generated/boot.h
|
generated/core.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(MAINCLIENT_SOURCES
|
set(MAINCLIENT_SOURCES
|
||||||
@ -83,7 +83,7 @@ src/mainclient/main.c
|
|||||||
src/mainclient/line.c
|
src/mainclient/line.c
|
||||||
src/mainclient/line.h
|
src/mainclient/line.h
|
||||||
|
|
||||||
src/include/generated/init.h
|
generated/init.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(REPL_SOURCES
|
set(REPL_SOURCES
|
||||||
@ -108,9 +108,9 @@ set_target_properties(${TARGET_NAME} PROPERTIES PUBLIC_HEADER "${DST_PUBLIC_HEAD
|
|||||||
|
|
||||||
# Generate header containing standard library
|
# Generate header containing standard library
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT generated/boot.h
|
OUTPUT generated/core.h
|
||||||
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/genboot.cmake
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/gencore.cmake
|
||||||
DEPENDS src/core/boot.dst
|
DEPENDS src/core/core.dst
|
||||||
COMMENT "Generating stl bootstrap C header for embedding"
|
COMMENT "Generating stl bootstrap C header for embedding"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user