forked from GerbilSoft/rom-properties
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/rp-download-split-from-libcachemgr'
Not quite complete for Windows, and no extra security functionality on Linux aside from running as a separate process, but it's good enough for now.
- Loading branch information
Showing
91 changed files
with
4,310 additions
and
1,664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
debian/rom-properties-stub.install → debian/rom-properties-utils.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
usr/bin/rp-stub | ||
usr/bin/rp-config | ||
usr/lib/*/libexec/rp-download | ||
usr/lib/*/libexec/rp-thumbnail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
PROJECT(libcachecommon) | ||
# Common cache management functions used by both Cache Manager and rp-download. | ||
|
||
SET(libcachecommon_SRCS | ||
CacheKeys.cpp | ||
CacheDir.cpp | ||
) | ||
SET(libcachecommon_H | ||
CacheKeys.hpp | ||
CacheDir.hpp | ||
) | ||
|
||
###################### | ||
# Build the library. # | ||
###################### | ||
|
||
INCLUDE(SetMSVCDebugPath) | ||
|
||
ADD_LIBRARY(cachecommon STATIC | ||
${libcachecommon_SRCS} ${libcachecommon_H} | ||
) | ||
SET_MSVC_DEBUG_PATH(cachecommon) | ||
TARGET_INCLUDE_DIRECTORIES(cachecommon | ||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> | ||
PRIVATE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/..> | ||
) | ||
# Exclude from ALL builds. | ||
SET_TARGET_PROPERTIES(cachecommon PROPERTIES EXCLUDE_FROM_ALL TRUE) | ||
TARGET_LINK_LIBRARIES(cachecommon PRIVATE rpthreads) | ||
IF(WIN32) | ||
TARGET_LINK_LIBRARIES(cachecommon PRIVATE win32common) | ||
ELSE(WIN32) | ||
TARGET_LINK_LIBRARIES(cachecommon PRIVATE unixcommon) | ||
ENDIF(WIN32) | ||
|
||
# Unix: Add -fpic/-fPIC in order to use these static libraries in plugins. | ||
IF(UNIX AND NOT APPLE) | ||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fpic -fPIC") | ||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpic -fPIC") | ||
ENDIF(UNIX AND NOT APPLE) | ||
|
||
# Test suite. | ||
IF(BUILD_TESTING) | ||
ADD_SUBDIRECTORY(tests) | ||
ENDIF(BUILD_TESTING) |
Oops, something went wrong.