mirror of
https://github.com/janet-lang/janet
synced 2025-01-22 21:26:51 +00:00
Make CMake not depend on location of build folder.
This commit is contained in:
parent
99709a68fd
commit
d19e272624
@ -1,9 +1,10 @@
|
|||||||
# Include bin2h cmake code
|
# Include bin2h cmake code
|
||||||
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
|
||||||
include(bin2h)
|
include(bin2h)
|
||||||
|
|
||||||
bin2h (
|
bin2h (
|
||||||
SOURCE_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../src/mainclient/init.dst
|
SOURCE_FILE ${CMAKE_CURRENT_LIST_DIR}/../src/mainclient/init.dst
|
||||||
HEADER_FILE "clientinit.gen.h"
|
HEADER_FILE "clientinit.gen.h"
|
||||||
VARIABLE_NAME dst_mainclient_init
|
VARIABLE_NAME dst_mainclient_init
|
||||||
)
|
)
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
# Include bin2h cmake code
|
# Include bin2h cmake code
|
||||||
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmake")
|
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
|
||||||
include(bin2h)
|
include(bin2h)
|
||||||
|
|
||||||
bin2h (
|
bin2h (
|
||||||
SOURCE_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../src/compiler/boot.dst
|
SOURCE_FILE ${CMAKE_CURRENT_LIST_DIR}/../src/compiler/boot.dst
|
||||||
HEADER_FILE "dststlbootstrap.gen.h"
|
HEADER_FILE "dststlbootstrap.gen.h"
|
||||||
VARIABLE_NAME dst_stl_bootstrap_gen
|
VARIABLE_NAME dst_stl_bootstrap_gen
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user