From e1528a3657339f0291f3fe81b4dff56d03996c11 Mon Sep 17 00:00:00 2001 From: Pasukhin Dmitry Date: Thu, 20 Mar 2025 18:44:30 +0000 Subject: [PATCH] Configuration - Update resource path references in build scripts #454 Fixed issue when the path to resources in build folder is not valid. --- adm/templates/DRAWEXE.vcxproj.user.in | 6 +++--- adm/templates/custom.build.bat.in | 2 +- adm/templates/custom.build.sh.in | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/adm/templates/DRAWEXE.vcxproj.user.in b/adm/templates/DRAWEXE.vcxproj.user.in index c18a68bc75..cd1545304a 100644 --- a/adm/templates/DRAWEXE.vcxproj.user.in +++ b/adm/templates/DRAWEXE.vcxproj.user.in @@ -3,7 +3,7 @@ CASROOT=@CMAKE_SOURCE_DIR@ CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@ -CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resource +CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resources CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests @@ -16,7 +16,7 @@ PATH=@3RDPARTY_DLL_DIRS_FOR_PATH@;%PATH% CASROOT=@CMAKE_SOURCE_DIR@ CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@ -CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resource +CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resources CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests @@ -29,7 +29,7 @@ PATH=@3RDPARTY_DLL_DIRS_FOR_PATH@;%PATH% CASROOT=@CMAKE_SOURCE_DIR@ CSF_FPE=@BUILD_ENABLE_FPE_SIGNAL_HANDLER@ -CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resource +CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resources CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests diff --git a/adm/templates/custom.build.bat.in b/adm/templates/custom.build.bat.in index dde4ba064f..5e277cf14b 100644 --- a/adm/templates/custom.build.bat.in +++ b/adm/templates/custom.build.bat.in @@ -35,7 +35,7 @@ if /I "%VCVER%" == "@COMPILER@" ( ) set "CSF_OCCTIncludePath=@CMAKE_BINARY_DIR@/inc" - set "CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resource" + set "CSF_OCCTResourcePath=@CMAKE_SOURCE_DIR@/resources" set "CSF_OCCTDataPath=@CMAKE_SOURCE_DIR@/data" set "CSF_OCCTSamplesPath=@CMAKE_SOURCE_DIR@/samples" set "CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests" diff --git a/adm/templates/custom.build.sh.in b/adm/templates/custom.build.sh.in index 76e17fbde7..265d79a97f 100644 --- a/adm/templates/custom.build.sh.in +++ b/adm/templates/custom.build.sh.in @@ -24,7 +24,7 @@ if [ "$1" == "@BIN_LETTER@" ]; then export CSF_OCCTBinPath="@CMAKE_RUNTIME_OUTPUT_DIRECTORY@" export CSF_OCCTLibPath="@CMAKE_ARCHIVE_OUTPUT_DIRECTORY@" export CSF_OCCTIncludePath="@CMAKE_BINARY_DIR@/@INSTALL_DIR_INCLUDE@" - export CSF_OCCTResourcePath="@CMAKE_SOURCE_DIR@/resource" + export CSF_OCCTResourcePath="@CMAKE_SOURCE_DIR@/resources" export CSF_OCCTDataPath="@CMAKE_SOURCE_DIR@/data" export CSF_OCCTSamplesPath="@CMAKE_SOURCE_DIR@/samples" export CSF_OCCTTestsPath="@CMAKE_SOURCE_DIR@/tests"