mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-11-05 10:45:53 +00:00
RE3_NO_AUTOLINK to CMAKE_NO_AUTOLINK
This commit is contained in:
parent
a0a88b4663
commit
1082b13830
|
@ -36,7 +36,7 @@ target_compile_definitions(${EXECUTABLE}
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<IF:$<CONFIG:DEBUG>,DEBUG,NDEBUG>
|
$<IF:$<CONFIG:DEBUG>,DEBUG,NDEBUG>
|
||||||
LIBRW
|
LIBRW
|
||||||
${PROJECT}_NO_AUTOLINK
|
CMAKE_NO_AUTOLINK
|
||||||
)
|
)
|
||||||
|
|
||||||
if(LIBRW_PLATFORM_D3D9)
|
if(LIBRW_PLATFORM_D3D9)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "sampman.h"
|
#include "sampman.h"
|
||||||
|
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#ifdef AUDIO_OAL_USE_SNDFILE
|
#ifdef AUDIO_OAL_USE_SNDFILE
|
||||||
#pragma comment( lib, "libsndfile-1.lib" )
|
#pragma comment( lib, "libsndfile-1.lib" )
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "crossplatform.h"
|
#include "crossplatform.h"
|
||||||
|
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#pragma comment( lib, "mss32.lib" )
|
#pragma comment( lib, "mss32.lib" )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
//TODO: max channels
|
//TODO: max channels
|
||||||
//TODO: loop count
|
//TODO: loop count
|
||||||
|
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#pragma comment( lib, "OpenAL32.lib" )
|
#pragma comment( lib, "OpenAL32.lib" )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "crossplatform.h"
|
#include "crossplatform.h"
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
#ifdef XINPUT
|
#ifdef XINPUT
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#include <xinput.h>
|
#include <xinput.h>
|
||||||
#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
|
#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
|
||||||
#pragma comment( lib, "Xinput9_1_0.lib" )
|
#pragma comment( lib, "Xinput9_1_0.lib" )
|
||||||
|
|
|
@ -223,7 +223,7 @@ psGrabScreen(RwCamera *pCamera)
|
||||||
/*
|
/*
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
*/
|
*/
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#pragma comment( lib, "Winmm.lib" ) // Needed for time
|
#pragma comment( lib, "Winmm.lib" ) // Needed for time
|
||||||
RwUInt32
|
RwUInt32
|
||||||
psTimer(void)
|
psTimer(void)
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#define WM_GRAPHNOTIFY WM_USER+13
|
#define WM_GRAPHNOTIFY WM_USER+13
|
||||||
|
|
||||||
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
|
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
|
||||||
#ifndef USE_D3D9
|
#ifndef USE_D3D9
|
||||||
#pragma comment( lib, "d3d8.lib" )
|
#pragma comment( lib, "d3d8.lib" )
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue