mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
Move uvector.h from src/librpbase/ to src/.
[rp-download] CMakeLists.txt: Don't link to librpbase. This was only needed for uvector.h, and now that it's in src/, we don't need to link in librpbase anymore.
This commit is contained in:
parent
c8acecdd2c
commit
597d0a088c
@ -29,7 +29,7 @@
|
||||
|
||||
// Uninitialized vector class.
|
||||
// Reference: http://andreoffringa.org/?q=uvector
|
||||
#include "librpbase/uvector.h"
|
||||
#include "uvector.h"
|
||||
|
||||
namespace LibRpBase {
|
||||
#ifdef ENABLE_DECRYPTION
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Nintendo3DS.hpp: Nintendo 3DS ROM reader. (Private class) *
|
||||
* Handles CCI/3DS, CIA, and SMDH files. *
|
||||
* *
|
||||
* Copyright (c) 2016-2021 by David Korth. *
|
||||
* Copyright (c) 2016-2022 by David Korth. *
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
||||
***************************************************************************/
|
||||
|
||||
@ -27,7 +27,7 @@ namespace LibRpFile {
|
||||
|
||||
// Uninitialized vector class.
|
||||
// Reference: http://andreoffringa.org/?q=uvector
|
||||
#include "librpbase/uvector.h"
|
||||
#include "uvector.h"
|
||||
|
||||
namespace LibRomData {
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* ROM Properties Page shell extension. (libromdata) *
|
||||
* stdafx.h: Common definitions and includes. *
|
||||
* *
|
||||
* Copyright (c) 2016-2021 by David Korth. *
|
||||
* Copyright (c) 2016-2022 by David Korth. *
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later *
|
||||
***************************************************************************/
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
|
||||
// Uninitialized vector class.
|
||||
// Reference: http://andreoffringa.org/?q=uvector
|
||||
#include "librpbase/uvector.h"
|
||||
#include "uvector.h"
|
||||
|
||||
// librpbase DiscReader
|
||||
#include "librpbase/disc/IDiscReader.hpp"
|
||||
|
@ -92,7 +92,6 @@ SET(${PROJECT_NAME}_SRCS
|
||||
)
|
||||
# Headers.
|
||||
SET(${PROJECT_NAME}_H
|
||||
uvector.h
|
||||
aligned_malloc.h
|
||||
TextFuncs.hpp
|
||||
TextFuncs_wchar.hpp
|
||||
|
@ -40,8 +40,7 @@ using std::vector;
|
||||
|
||||
// Uninitialized vector class.
|
||||
// Reference: http://andreoffringa.org/?q=uvector
|
||||
// FIXME: Move out of librpbase?
|
||||
#include "librpbase/uvector.h"
|
||||
#include "uvector.h"
|
||||
|
||||
namespace LibRpTexture {
|
||||
|
||||
|
@ -49,8 +49,10 @@
|
||||
#include "librpcpu/bitstuff.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
// C++ headers
|
||||
#include "uvector.h"
|
||||
|
||||
// librpbase C++ headers
|
||||
#include "librpbase/uvector.h"
|
||||
#include "librpbase/RomFields.hpp"
|
||||
#include "librpbase/TextFuncs.hpp"
|
||||
|
||||
|
@ -102,8 +102,7 @@ SET_WINDOWS_SUBSYSTEM(${PROJECT_NAME} CONSOLE)
|
||||
SET_WINDOWS_NO_MANIFEST(${PROJECT_NAME})
|
||||
SET_WINDOWS_ENTRYPOINT(${PROJECT_NAME} wmain OFF)
|
||||
|
||||
# FIXME: librpbase isn't actually needed; only the headers are.
|
||||
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PRIVATE rpsecure rpbase cachecommon)
|
||||
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PRIVATE rpsecure cachecommon)
|
||||
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME}
|
||||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> # rp-download
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> # rp-download
|
||||
|
Loading…
Reference in New Issue
Block a user