Removing taglib submodule and adding it to vcpkg
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
[submodule "Libs/cpr"]
|
[submodule "Libs/cpr"]
|
||||||
path = 3rdparty/cpr
|
path = 3rdparty/cpr
|
||||||
url = https://github.com/whoshuu/cpr.git
|
url = https://github.com/whoshuu/cpr.git
|
||||||
[submodule "3rdparty/taglib"]
|
|
||||||
path = 3rdparty/taglib
|
|
||||||
url = https://github.com/taglib/taglib
|
|
||||||
[submodule "3rdparty/oatpp"]
|
[submodule "3rdparty/oatpp"]
|
||||||
path = 3rdparty/oatpp
|
path = 3rdparty/oatpp
|
||||||
url = https://github.com/oatpp/oatpp
|
url = https://github.com/oatpp/oatpp
|
||||||
|
|||||||
Vendored
-1
Submodule 3rdparty/taglib deleted from e36a9cabb9
+3
-32
@@ -86,39 +86,10 @@ set(HEADERS
|
|||||||
include/verify/Initialization.h
|
include/verify/Initialization.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set (TAGLIB
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/taglib/3rdparty
|
|
||||||
)
|
|
||||||
|
|
||||||
set (BCRYPTLIB
|
set (BCRYPTLIB
|
||||||
${CMAKE_SOURCE_DIR}/3rdparty/libbcrypt
|
${CMAKE_SOURCE_DIR}/3rdparty/libbcrypt
|
||||||
)
|
)
|
||||||
|
|
||||||
set(TAGLIB_HEADERS
|
|
||||||
"${CMAKE_SOURCE_DIR}/build/3rdparty/taglib"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/ape"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/asf"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/dsdiff"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/dsf"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/flac"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/it"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mod"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mp4"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mpc"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mpeg"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mpeg/id3v2"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/mpeg/id3v2/frames"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/ogg"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/riff"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/s3m"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/toolkit"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/trueaudio"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/wavpack"
|
|
||||||
"${CMAKE_SOURCE_DIR}/3rdparty/taglib/taglib/xm"
|
|
||||||
)
|
|
||||||
|
|
||||||
set(JWT_CPP_INCLUDE
|
set(JWT_CPP_INCLUDE
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/jwt-cpp/include
|
${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/jwt-cpp/include
|
||||||
)
|
)
|
||||||
@@ -129,10 +100,9 @@ conan_basic_setup()
|
|||||||
|
|
||||||
#find_library(BCRYPT bcrypt ${BCRYPTLIB})
|
#find_library(BCRYPT bcrypt ${BCRYPTLIB})
|
||||||
|
|
||||||
include_directories(include ${CPR_INCLUDE_DIRS} ${TAGLIB} ${TAGLIB_HEADERS} ${BCRYPTLIB})
|
include_directories(include ${CPR_INCLUDE_DIRS} ${BCRYPTLIB})
|
||||||
|
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/cpr)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/cpr)
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/taglib)
|
|
||||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/oatpp)
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/oatpp)
|
||||||
|
|
||||||
add_library(bcrypt STATIC IMPORTED)
|
add_library(bcrypt STATIC IMPORTED)
|
||||||
@@ -148,5 +118,6 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/paths.json ${CMAKE_BINARY_DIR}/bin/pa
|
|||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Images/Stock/CoverArt.png ${CMAKE_BINARY_DIR}/bin/CoverArt.png COPYONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Images/Stock/CoverArt.png ${CMAKE_BINARY_DIR}/bin/CoverArt.png COPYONLY)
|
||||||
|
|
||||||
add_executable(icarus ${SOURCES} ${HEADERS})
|
add_executable(icarus ${SOURCES} ${HEADERS})
|
||||||
|
|
||||||
target_include_directories(icarus PUBLIC ${JWT_CPP_INCLUDE})
|
target_include_directories(icarus PUBLIC ${JWT_CPP_INCLUDE})
|
||||||
target_link_libraries(icarus "-lstdc++fs" tag oatpp mysqlclient ${CONAN_LIBS} ${CPR_LIBRARIES} bcrypt)
|
target_link_libraries(icarus "-lstdc++fs" oatpp tag mysqlclient ${CONAN_LIBS} ${CPR_LIBRARIES} bcrypt)
|
||||||
|
|||||||
@@ -3,15 +3,16 @@
|
|||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <attachedpictureframe.h>
|
#include <taglib/attachedpictureframe.h>
|
||||||
#include <tag.h>
|
#include <taglib/tag.h>
|
||||||
#include <tfile.h>
|
#include <taglib/tfile.h>
|
||||||
#include <tfilestream.h>
|
#include <taglib/tfilestream.h>
|
||||||
#include <fileref.h>
|
#include <taglib/fileref.h>
|
||||||
#include <tbytevector.h>
|
#include <taglib/tbytevector.h>
|
||||||
#include <tbytevectorstream.h>
|
#include <taglib/tbytevectorstream.h>
|
||||||
#include <tpropertymap.h>
|
#include <taglib/tpropertymap.h>
|
||||||
#include <id3v2tag.h>
|
#include <taglib/id3v2tag.h>
|
||||||
|
|
||||||
|
|
||||||
namespace utility {
|
namespace utility {
|
||||||
class ImageFile : public TagLib::File {
|
class ImageFile : public TagLib::File {
|
||||||
|
|||||||
@@ -4,11 +4,12 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include <attachedpictureframe.h>
|
// #include <attachedpictureframe.h>
|
||||||
#include <textidentificationframe.h>
|
#include <taglib/attachedpictureframe.h>
|
||||||
#include <fileref.h>
|
#include <taglib/textidentificationframe.h>
|
||||||
#include <mpegfile.h>
|
#include <taglib/fileref.h>
|
||||||
#include <tag.h>
|
#include <taglib/mpegfile.h>
|
||||||
|
#include <taglib/tag.h>
|
||||||
|
|
||||||
#include "model/Models.h"
|
#include "model/Models.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user