build: Generate tsconfig file in the build dir
It never should have been dumped in the source directory in the first place.
This commit is contained in:
1 parent
462b0f4eda
commit
450de301a9
1 file changed
+1
-2
@@ -43,8 +43,7 @@ set(_tools_py ${CMAKE_SOURCE_DIR}/tools/py)
|
||||
# 'tsconfig.debug.json' or 'tsconfig.release.json'.
|
||||
set(_tsconfig_base "${CMAKE_CURRENT_SOURCE_DIR}/tsconfig.$<IF:$<CONFIG:Debug>,debug,release>.json")
|
||||
set(WEBPACK_MODE $<IF:$<CONFIG:Debug>,"development","production">)
|
||||
set(SPARK_ADMIN_CONSOLE_TSCONFIG_NAME "last" CACHE STRING "Name for the generated tsconfig file")
|
||||
set(_tsconfig "${CMAKE_CURRENT_SOURCE_DIR}/tsconfig.${SPARK_ADMIN_CONSOLE_TSCONFIG_NAME}.g.json")
|
||||
set(_tsconfig "${CMAKE_CURRENT_BINARY_DIR}/tsconfig.json")
|
||||
|
||||
set(_venv_python ${CMAKE_SOURCE_DIR}/.venv/bin/python)
|
||||
set(_gen_tsconfig_py ${_tools_py}/gen_tsconfig.py)
|
||||
|
||||
Reference in new issue
Block a user