Add cpp suffix to cpp binaries
This commit is contained in:
parent
bd9e6ff5b1
commit
25b4ac0d69
2 changed files with 8 additions and 8 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -26,8 +26,8 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: "dart/out/*", fingerprint: true
|
archiveArtifacts artifacts: "dart/out/*", fingerprint: true
|
||||||
archiveArtifacts artifacts: "cpp/build/vsleep", fingerprint: true
|
archiveArtifacts artifacts: "cpp/build/vsleep-cpp", fingerprint: true
|
||||||
archiveArtifacts artifacts: "cpp/build/pause", fingerprint: true
|
archiveArtifacts artifacts: "cpp/build/pause-cpp", fingerprint: true
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -42,8 +42,8 @@ pipeline {
|
||||||
|
|
||||||
bat 'compile.bat'
|
bat 'compile.bat'
|
||||||
|
|
||||||
archiveArtifacts artifacts: "cpp\\build\\Debug\\vsleep.exe", fingerprint: true
|
archiveArtifacts artifacts: "cpp\\build\\Debug\\vsleep-cpp.exe", fingerprint: true
|
||||||
archiveArtifacts artifacts: "cpp\\build\\Debug\\pause.exe", fingerprint: true
|
archiveArtifacts artifacts: "cpp\\build\\Debug\\pause-cpp.exe", fingerprint: true
|
||||||
|
|
||||||
archiveArtifacts artifacts: "dart\\out\\*.exe", fingerprint: true
|
archiveArtifacts artifacts: "dart\\out\\*.exe", fingerprint: true
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@ project(sht)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
add_executable(vsleep vsleep.cpp)
|
add_executable(vsleep-cpp vsleep.cpp)
|
||||||
install(TARGETS vsleep
|
install(TARGETS vsleep-cpp
|
||||||
RUNTIME DESTINATION /usr/bin
|
RUNTIME DESTINATION /usr/bin
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(pause pause.cpp)
|
add_executable(pause-cpp pause.cpp)
|
||||||
install(TARGETS pause RUNTIME DESTINATION /usr/bin)
|
install(TARGETS pause-cpp RUNTIME DESTINATION /usr/bin)
|
||||||
|
|
Loading…
Reference in a new issue