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