From 0c3fcb736e7f33ce8f8bafadda90a8750e8a2b13 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 21 Jan 2021 10:55:17 +0100 Subject: [PATCH] [platform] migrating Windows file watcher and restarter builds to CMake template GitOrigin-RevId: edbfcd80e42ee25c2f68f68ad949d5481ec72400 --- native/WinFsNotifier/.gitignore | 3 +-- native/WinFsNotifier/build.cmd | 14 -------------- native/WinRestarter/.gitignore | 2 +- native/WinRestarter/build.cmd | 13 ------------- 4 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 native/WinFsNotifier/build.cmd delete mode 100644 native/WinRestarter/build.cmd diff --git a/native/WinFsNotifier/.gitignore b/native/WinFsNotifier/.gitignore index 3fc31dee9d5f..f7de2ae74aae 100644 --- a/native/WinFsNotifier/.gitignore +++ b/native/WinFsNotifier/.gitignore @@ -1,4 +1,3 @@ /.idea/ /cmake-build-*/ -/build32/ -/build64/ \ No newline at end of file +/build-*/ diff --git a/native/WinFsNotifier/build.cmd b/native/WinFsNotifier/build.cmd deleted file mode 100644 index e5c714352c95..000000000000 --- a/native/WinFsNotifier/build.cmd +++ /dev/null @@ -1,14 +0,0 @@ -@ECHO OFF - -SET BUILD_DIR=%1 -SET PLATFORM=%2 -SET CMAKE=%CMAKE_PATH%\bin\cmake - -IF EXIST "%BUILD_DIR%" RMDIR /S /Q "%BUILD_DIR%" -MKDIR "%BUILD_DIR%" & CD "%BUILD_DIR%" - -"%CMAKE%" -G "Visual Studio 12 2013" -T v120_xp -A "%PLATFORM%" .. -IF ERRORLEVEL 1 EXIT 1 - -"%CMAKE%" --build . --config Release -IF ERRORLEVEL 1 EXIT 2 \ No newline at end of file diff --git a/native/WinRestarter/.gitignore b/native/WinRestarter/.gitignore index caf4514d3088..f7de2ae74aae 100644 --- a/native/WinRestarter/.gitignore +++ b/native/WinRestarter/.gitignore @@ -1,3 +1,3 @@ /.idea/ /cmake-build-*/ -/build/ \ No newline at end of file +/build-*/ diff --git a/native/WinRestarter/build.cmd b/native/WinRestarter/build.cmd deleted file mode 100644 index e37dbcf1cdf0..000000000000 --- a/native/WinRestarter/build.cmd +++ /dev/null @@ -1,13 +0,0 @@ -@ECHO OFF - -SET BUILD_DIR=build32 -SET CMAKE=%CMAKE_PATH%\bin\cmake - -IF EXIST "%BUILD_DIR%" RMDIR /S /Q "%BUILD_DIR%" -MKDIR "%BUILD_DIR%" & CD "%BUILD_DIR%" - -"%CMAKE%" -G "Visual Studio 12 2013" -T v120_xp -A win32 .. -IF ERRORLEVEL 1 EXIT 1 - -"%CMAKE%" --build . --config Release -IF ERRORLEVEL 1 EXIT 2 \ No newline at end of file