Skip to content

Commit

Permalink
Get auto generated headers working, excepting imacros.c.out
Browse files Browse the repository at this point in the history
  • Loading branch information
strattond committed Feb 11, 2025
1 parent 54b0f2d commit 7392c23
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spidermonkey/make/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ target_sources(host_jskwgen
../../jskeyword.tbl
)


add_custom_command(
OUTPUT ../../jsautokw.h
COMMAND echo ${CMAKE_CURRENT_SOURCE_DIR} && ./host_jskwgen > ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautokw.h && echo "Build complete"
COMMAND echo ${CMAKE_CURRENT_SOURCE_DIR} && ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/host_jskwgen ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautokw.h && echo "Build complete"
DEPENDS host_jskwgen
COMMENT "Generating jsautokw.h"
)
Expand All @@ -50,7 +49,7 @@ target_sources(host_jsoplengen

add_custom_command(
OUTPUT ../../jsautooplen.h
COMMAND echo ${CMAKE_CURRENT_SOURCE_DIR} && ./host_jsoplengen > ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautooplen.h && echo "Build complete"
COMMAND echo ${CMAKE_CURRENT_SOURCE_DIR} && ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/host_jsoplengen ${CMAKE_CURRENT_SOURCE_DIR}/../../jsautooplen.h && echo "Build complete"
DEPENDS host_jsoplengen
COMMENT "Generating jsautooplen.h"
)
Expand Down

0 comments on commit 7392c23

Please sign in to comment.