From 15dc30c8d1e20484d3a11c00ef004abafc504a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Benito=20Lamata?= Date: Wed, 16 Oct 2024 11:26:55 +0200 Subject: [PATCH] Script to run DMI and EVC in Windows --- CMakeLists.txt | 4 +++- utils/ETCS.bat | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 utils/ETCS.bat diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a7582d..ee21ff2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,9 @@ add_subdirectory(EVC) add_subdirectory(DMI) if (NOT ANDROID) install(DIRECTORY config/ DESTINATION ${ETCS_CONFIG_DIR}) - if (NOT WIN32) + if (WIN32) + install(PROGRAMS utils/ETCS.bat DESTINATION ${CMAKE_INSTALL_BINDIR} ) + else() install(PROGRAMS utils/etcs DESTINATION ${CMAKE_INSTALL_BINDIR} ) endif() endif() \ No newline at end of file diff --git a/utils/ETCS.bat b/utils/ETCS.bat new file mode 100644 index 0000000..50e26e1 --- /dev/null +++ b/utils/ETCS.bat @@ -0,0 +1,3 @@ +@echo off +start evc.exe +start dmi.exe