fixed travis recipe, reordered source tree
This commit is contained in:
parent
537defb38b
commit
ea3b596abb
@ -7,7 +7,7 @@ addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- sourceline: 'ppa:lemourin/libcloudstorage'
|
||||
- sourceline: 'ppa:cspensky/sda'
|
||||
packages:
|
||||
- g++-5
|
||||
- libcurlpp-dev
|
||||
|
@ -26,7 +26,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
endif()
|
||||
|
||||
# Library
|
||||
file(GLOB sources src/*.cpp src/*.hpp)
|
||||
file(GLOB sources src/*.cpp src/*.hpp src/api/*.cpp)
|
||||
add_library(mastodon-cpp SHARED ${sources})
|
||||
set_target_properties(mastodon-cpp PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
|
Reference in New Issue
Block a user