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)