Skip to content

Instantly share code, notes, and snippets.

cmake_minimum_required(VERSION 3.0)
link_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
option(desktop_build "desktop_build" ON)
message("-- desktop_build: " ${desktop_build})
# STRING(REPLACE "-O3" "-O0" CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE})
add_subdirectory(3rd_party/dlib)
add_subdirectory(3rd_party/nlohmann_json)
add_subdirectory(3rd_party/optional-lite)
-- Check for working C compiler: /Users/{user}/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang
-- Check for working C compiler: /Users/{user}/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Users/{user}/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
-- Check for working CXX compiler: /Users/{user}/Library/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
getUsers()
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe({ showUsers(it) })
Completable.fromCallable { animalsMaker.makeCat(getThread()) }
.doOnComplete { animalsMaker.makeDog(getThread()) }
.observeOn(scheduler(FISH))
.andThen(Completable.fromCallable { animalsMaker.makeShark(getThread()) })
.andThen(
Completable.fromCallable { animalsMaker.makeChicken(getThread()) }
.subscribeOn(scheduler(BIRDS))
.andThen(Completable.fromCallable { animalsMaker.makeDuck(getThread()) })
)
.andThen(Completable.fromCallable { animalsMaker.makePenguin(getThread()) })
{
"link": "https://mobile.envelo.pl/docs/regulamin.html",
"version": 1416836788
}