build: fix build on Unix systems
* throw std::exception replaced with throw error * MANAGER to Manager in CMakelists
This commit is contained in:
+2
-16
@@ -3,22 +3,7 @@ Linux64:
|
||||
stage: deploy
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- ./script/setup.sh
|
||||
- ./script/buildonly.sh all
|
||||
- ./script/buildonly.sh package
|
||||
- ./build/Release/app/Coati --licenseFile ./setup/license.txt
|
||||
- cd ./bin/test
|
||||
- ../../build/Release/test/Coati_test
|
||||
artifacts:
|
||||
paths:
|
||||
- distr/Coati*.tar.gz
|
||||
expire_in: 3 days
|
||||
|
||||
Linux64_manual:
|
||||
image: st4ll1/coati_linux_64
|
||||
stage: deploy
|
||||
when: manual
|
||||
- triggers
|
||||
script:
|
||||
- ./script/setup.sh
|
||||
- ./script/buildonly.sh all
|
||||
@@ -52,6 +37,7 @@ Linux32:
|
||||
stage: deploy
|
||||
only:
|
||||
- master
|
||||
- triggers
|
||||
script:
|
||||
- ./script/setup.sh
|
||||
- ./script/buildonly.sh all
|
||||
|
||||
@@ -249,8 +249,8 @@ add_files(
|
||||
utility/interprocess/SharedParserArguments.cpp
|
||||
utility/interprocess/SharedParserArguments.h
|
||||
utility/interprocess/SharedQueue.h
|
||||
utility/interprocess/SharedUUIDMANAGER.cpp
|
||||
utility/interprocess/SharedUUIDMANAGER.h
|
||||
utility/interprocess/SharedUUIDManager.cpp
|
||||
utility/interprocess/SharedUUIDManager.h
|
||||
|
||||
utility/logging/ConsoleLogger.cpp
|
||||
utility/logging/ConsoleLogger.h
|
||||
|
||||
@@ -103,7 +103,7 @@ T SharedQueue<T>::popValue()
|
||||
}
|
||||
else
|
||||
{
|
||||
throw(std::exception("Deque was not initialized"));
|
||||
throw(std::runtime_error("Deque was not initialized"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user