Add cpp suffix to cpp binaries

This commit is contained in:
zontreck 2024-08-31 00:22:18 -07:00
parent bd9e6ff5b1
commit 25b4ac0d69
2 changed files with 8 additions and 8 deletions

8
Jenkinsfile vendored
View file

@ -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

View file

@ -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)