|
@@ -127,6 +127,13 @@ if [ -z ${DOCKER+x} ]; then
|
|
|
cd .. && rm build -rf
|
|
|
echo -en 'travis_fold:end:script.build.example\\r'
|
|
|
|
|
|
+ echo "Compile as shared lib version" && echo -en 'travis_fold:start:script.build.shared_libs\\r'
|
|
|
+ mkdir -p build && cd build
|
|
|
+ cmake -DBUILD_SHARED_LIBS=ON -DUA_ENABLE_AMALGAMATION=ON -DUA_BUILD_EXAMPLES=ON ..
|
|
|
+ make -j
|
|
|
+ cd .. && rm build -rf
|
|
|
+ echo -en 'travis_fold:end:script.build.shared_libs\\r'
|
|
|
+
|
|
|
echo "Compile multithreaded version" && echo -en 'travis_fold:start:script.build.multithread\\r'
|
|
|
mkdir -p build && cd build
|
|
|
cmake -DUA_ENABLE_MULTITHREADING=ON -DUA_BUILD_EXAMPLESERVER=ON -DUA_BUILD_EXAMPLES=ON ..
|