From 25b4ac0d69f40813767b030c3c6f540fe1f808dc Mon Sep 17 00:00:00 2001 From: zontreck Date: Sat, 31 Aug 2024 00:22:18 -0700 Subject: [PATCH] Add cpp suffix to cpp binaries --- Jenkinsfile | 8 ++++---- cpp/CMakeLists.txt | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5a54ae4..222175f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,8 +26,8 @@ pipeline { post { always { archiveArtifacts artifacts: "dart/out/*", fingerprint: true - archiveArtifacts artifacts: "cpp/build/vsleep", fingerprint: true - archiveArtifacts artifacts: "cpp/build/pause", fingerprint: true + archiveArtifacts artifacts: "cpp/build/vsleep-cpp", fingerprint: true + archiveArtifacts artifacts: "cpp/build/pause-cpp", fingerprint: true deleteDir() } } @@ -42,8 +42,8 @@ pipeline { bat 'compile.bat' - archiveArtifacts artifacts: "cpp\\build\\Debug\\vsleep.exe", fingerprint: true - archiveArtifacts artifacts: "cpp\\build\\Debug\\pause.exe", fingerprint: true + archiveArtifacts artifacts: "cpp\\build\\Debug\\vsleep-cpp.exe", fingerprint: true + archiveArtifacts artifacts: "cpp\\build\\Debug\\pause-cpp.exe", fingerprint: true archiveArtifacts artifacts: "dart\\out\\*.exe", fingerprint: true diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 05033a2..f96ba32 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -3,10 +3,10 @@ project(sht) set(CMAKE_CXX_STANDARD 17) -add_executable(vsleep vsleep.cpp) -install(TARGETS vsleep +add_executable(vsleep-cpp vsleep.cpp) +install(TARGETS vsleep-cpp RUNTIME DESTINATION /usr/bin ) -add_executable(pause pause.cpp) -install(TARGETS pause RUNTIME DESTINATION /usr/bin) +add_executable(pause-cpp pause.cpp) +install(TARGETS pause-cpp RUNTIME DESTINATION /usr/bin)