cpp_client_telemetry/tools/sku-create.cmd

39 строки
1.4 KiB
Batchfile
Исходник Обычный вид История

- proper handling of offline storage path passed down via configuration - implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db - ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl! - DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface - RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl - ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine - HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that - IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk - DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener - ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance) - LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template - NullObjects.hpp : add stubs to NULL-object pattern implementation - Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor - ISqlite3Proxy.hpp : expose v3 close method - OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix) - OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk - Move local temp dir detection from UTC helpers to common MAT code - Statistics.cpp : fix stats record decoration - TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition) - TPM : proper atomic check for uploads scheduled - Added couple common utils from v1 codebase
2018-05-14 20:32:05 +03:00
@echo off
2018-03-30 04:50:09 +03:00
echo Creating SKU %1 ...
set DST_NAME=%1
set SRC_NAME=%2
set MSC_VER=%3
- proper handling of offline storage path passed down via configuration - implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db - ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl! - DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface - RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl - ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine - HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that - IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk - DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener - ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance) - LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template - NullObjects.hpp : add stubs to NULL-object pattern implementation - Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor - ISqlite3Proxy.hpp : expose v3 close method - OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix) - OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk - Move local temp dir detection from UTC helpers to common MAT code - Statistics.cpp : fix stats record decoration - TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition) - TPM : proper atomic check for uploads scheduled - Added couple common utils from v1 codebase
2018-05-14 20:32:05 +03:00
set REL_SRC=%SRCDIR%\Release
set DBG_SRC=%SRCDIR%\Debug
2018-03-30 04:50:09 +03:00
if "%3" == "" GOTO proceed
set REL_SRC=%REL_SRC%.%3
set DBG_SRC=%DBG_SRC%.%3
:proceed
echo Release = %REL_SRC%
echo Debug = %DBG_SRC%
- proper handling of offline storage path passed down via configuration - implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db - ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl! - DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface - RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl - ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine - HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that - IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk - DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener - ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance) - LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template - NullObjects.hpp : add stubs to NULL-object pattern implementation - Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor - ISqlite3Proxy.hpp : expose v3 close method - OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix) - OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk - Move local temp dir detection from UTC helpers to common MAT code - Statistics.cpp : fix stats record decoration - TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition) - TPM : proper atomic check for uploads scheduled - Added couple common utils from v1 codebase
2018-05-14 20:32:05 +03:00
if exist "%REL_SRC%\Win32\%SRC_NAME%" (
robocopy %REL_SRC%\Win32\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\x86\Release" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
robocopy %DBG_SRC%\Win32\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\x86\Debug" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
2018-03-30 04:50:09 +03:00
)
- proper handling of offline storage path passed down via configuration - implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db - ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl! - DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface - RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl - ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine - HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that - IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk - DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener - ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance) - LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template - NullObjects.hpp : add stubs to NULL-object pattern implementation - Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor - ISqlite3Proxy.hpp : expose v3 close method - OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix) - OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk - Move local temp dir detection from UTC helpers to common MAT code - Statistics.cpp : fix stats record decoration - TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition) - TPM : proper atomic check for uploads scheduled - Added couple common utils from v1 codebase
2018-05-14 20:32:05 +03:00
if exist "%REL_SRC%\x64\%SRC_NAME%" (
robocopy %REL_SRC%\x64\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\x64\Release" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
robocopy %DBG_SRC%\x64\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\x64\Debug" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
2018-03-30 04:50:09 +03:00
)
- proper handling of offline storage path passed down via configuration - implementation of Flush method - to move records from in-ram sqlite to on-disk sqlite db - ability to forward debug callbacks to outside shim (needed for templated LogManager impl). No API changes, but internal impl! - DebugSource.cpp : forward events to outside shim located at LogManager impl templated surface - RuntimeConfig_Default.hpp : no longer need to set the path here, as it's done in LogManagerImpl - ESCConfigCache.cpp : format changes and moved GetAppLocalTempDirectory to MAT as common cross-plat routine - HttpResponseDecoder.cpp : temporary debug-only change to catch references to deallocated ptrs and assert on that - IOfflineStorage.hpp : add Flush method (move ram to disk) and a callback for records saved to disk - DebugEvents.hpp : proxy-forward callbacks to another "cascaded" listener - ILogManager.hpp : AttachEventSource / DetachEventSource - attach "cascaded" proxy source (as there could be many templ ref to one instance) - LogManagerBase.hpp : save primary tenant token back to configuration and attach "local" Debug event source proxy on a template - NullObjects.hpp : add stubs to NULL-object pattern implementation - Variant.hpp / VariantType.hpp : add draft implementation of thread-safe variants and fix vs201x memory corruption in destructor - ISqlite3Proxy.hpp : expose v3 close method - OfflineStorage_SQLite.cpp : move lock to outside of m_db check (race condition fix) - OfflineStorageHandler.cpp : implementation of async flush copy from ram to disk + callback for records saved to disk - Move local temp dir detection from UTC helpers to common MAT code - Statistics.cpp : fix stats record decoration - TelemetrySystem.cpp : reenable stats and move storage stop after telemetry system stop (otherwise there is a race condition) - TPM : proper atomic check for uploads scheduled - Added couple common utils from v1 codebase
2018-05-14 20:32:05 +03:00
if exist "%REL_SRC%\ARM\%SRC_NAME%" (
robocopy %REL_SRC%\ARM\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\ARM\Release" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
robocopy %DBG_SRC%\ARM\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\ARM\Debug" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
2018-03-30 04:50:09 +03:00
)
2018-09-20 22:59:43 +03:00
if exist "%REL_SRC%\ARM64\%SRC_NAME%" (
robocopy %REL_SRC%\ARM64\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\ARM64\Release" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
robocopy %DBG_SRC%\ARM64\%SRC_NAME% "%OUTDIR%\lib\%DST_NAME%\ARM64\Debug" *.pri *.winmd *.dll *.pdb *.lib *.map *.exp
)