CMakeLists: Normalize whitespace

Normalizes tabs to spaces to follow our codebase's indentation style.
This commit is contained in:
Lioncash 2017-03-01 07:43:43 -05:00
parent e375c96693
commit ee61bd6f2e
17 changed files with 1348 additions and 1317 deletions

View File

@ -1,4 +1,5 @@
set(SRCS Analytics.cpp
set(SRCS
Analytics.cpp
CDUtils.cpp
ColorUtil.cpp
Config/Config.cpp
@ -36,7 +37,8 @@ set(SRCS Analytics.cpp
Crypto/AES.cpp
Crypto/bn.cpp
Crypto/ec.cpp
Logging/LogManager.cpp)
Logging/LogManager.cpp
)
if(LIBUSB_FOUND)
set(LIBS ${LIBS} ${LIBUSB_LIBRARIES})
@ -59,16 +61,19 @@ if(_M_ARM_64)
set(SRCS ${SRCS}
Arm64Emitter.cpp
ArmCPUDetect.cpp
GenericFPURoundMode.cpp)
GenericFPURoundMode.cpp
)
else()
if(_M_X86) #X86
set(SRCS ${SRCS}
x64FPURoundMode.cpp
x64CPUDetect.cpp)
x64CPUDetect.cpp
)
else() # Generic
set(SRCS ${SRCS}
GenericFPURoundMode.cpp
GenericCPUDetect.cpp)
GenericCPUDetect.cpp
)
endif()
endif()
@ -78,7 +83,8 @@ list(APPEND LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
set(SRCS ${SRCS}
GL/GLUtil.cpp
GL/GLExtensions/GLExtensions.cpp
GL/GLInterface/GLInterface.cpp)
GL/GLInterface/GLInterface.cpp
)
if(USE_EGL)
set(SRCS ${SRCS} GL/GLInterface/EGL.cpp)

View File

@ -1,4 +1,5 @@
set(SRCS ActionReplay.cpp
set(SRCS
ActionReplay.cpp
Analytics.cpp
ARDecrypt.cpp
BootManager.cpp
@ -211,7 +212,7 @@ set(SRCS ActionReplay.cpp
PowerPC/JitILCommon/JitILBase_Paired.cpp
PowerPC/JitILCommon/JitILBase_FloatingPoint.cpp
PowerPC/JitILCommon/JitILBase_Integer.cpp
)
)
if(_M_X86)
set(SRCS ${SRCS}
@ -237,7 +238,8 @@ if(_M_X86)
PowerPC/Jit64Common/FarCodeCache.cpp
PowerPC/Jit64Common/Jit64AsmCommon.cpp
PowerPC/Jit64Common/Jit64Base.cpp
PowerPC/Jit64Common/TrampolineCache.cpp)
PowerPC/Jit64Common/TrampolineCache.cpp
)
elseif(_M_ARM_64)
set(SRCS ${SRCS}
PowerPC/JitArm64/Jit.cpp
@ -254,7 +256,8 @@ elseif(_M_ARM_64)
PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp
PowerPC/JitArm64/JitArm64_SystemRegisters.cpp
PowerPC/JitArm64/Jit_Util.cpp
PowerPC/JitArm64/JitArm64_Tables.cpp)
PowerPC/JitArm64/JitArm64_Tables.cpp
)
endif()
set(LIBS
@ -271,13 +274,15 @@ set(LIBS
videoogl
videosoftware
z
)
)
if(LIBUSB_FOUND)
# Using shared LibUSB
set(LIBS ${LIBS} ${LIBUSB_LIBRARIES})
set(SRCS ${SRCS} IOS/USB/LibusbDevice.cpp
IOS/USB/Bluetooth/BTReal.cpp)
set(SRCS ${SRCS}
IOS/USB/LibusbDevice.cpp
IOS/USB/Bluetooth/BTReal.cpp
)
endif()
if(NOT APPLE)
@ -296,8 +301,7 @@ if(WIN32)
)
elseif(APPLE)
set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Apple.cpp HW/WiimoteReal/IOdarwin.mm)
set(LIBS ${LIBS}
${IOB_LIBRARY})
set(LIBS ${LIBS} ${IOB_LIBRARY})
elseif(UNIX)
set(SRCS ${SRCS} HW/EXI/BBA-TAP/TAP_Unix.cpp)
if(ANDROID)

View File

@ -1,4 +1,5 @@
set(SRCS Blob.cpp
set(SRCS
Blob.cpp
CISOBlob.cpp
WbfsBlob.cpp
CompressedBlob.cpp
@ -17,6 +18,7 @@ set(SRCS Blob.cpp
VolumeGC.cpp
VolumeWad.cpp
VolumeWiiCrypted.cpp
WiiWad.cpp)
WiiWad.cpp
)
add_dolphin_library(discio "${SRCS}" "")

View File

@ -28,7 +28,7 @@ set(SRCS
GameList/GameTracker.cpp
GameList/ListProxyModel.cpp
GameList/TableDelegate.cpp
)
)
list(APPEND LIBS core uicommon)

View File

@ -76,7 +76,8 @@ set(GUI_SRCS
VideoConfigDiag.cpp
WxEventUtils.cpp
WXInputBase.cpp
WxUtils.cpp)
WxUtils.cpp
)
set(NOGUI_SRCS MainNoGUI.cpp)

View File

@ -28,7 +28,8 @@ if(WIN32)
ControllerInterface/DInput/DInputKeyboardMouse.cpp
ControllerInterface/DInput/XInputFilter.cpp
ControllerInterface/XInput/XInput.cpp
ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp)
ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp
)
elseif(APPLE)
find_library(COREFOUNDATION_LIBRARY CoreFoundation)
find_library(CARBON_LIBRARY Carbon)
@ -39,16 +40,19 @@ elseif(APPLE)
ControllerInterface/OSX/OSXJoystick.mm
ControllerInterface/Quartz/Quartz.mm
ControllerInterface/Quartz/QuartzKeyboardAndMouse.mm
ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp)
ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp
)
set(LIBS ${LIBS} ${COREFOUNDATION_LIBRARY} ${CARBON_LIBRARY} ${COCOA_LIBRARY})
elseif(X11_FOUND)
set(SRCS ${SRCS}
ControllerInterface/Xlib/XInput2.cpp)
ControllerInterface/Xlib/XInput2.cpp
)
set(LIBS ${LIBS} ${X11_LIBRARIES} ${X11_INPUT_LIBRARIES})
elseif(ANDROID)
add_definitions(-DCIFACE_USE_ANDROID)
set(SRCS ${SRCS}
ControllerInterface/Android/Android.cpp)
ControllerInterface/Android/Android.cpp
)
endif()
if(ANDROID)

View File

@ -1,7 +1,9 @@
set(SRCS CommandLineParse.cpp
set(SRCS
CommandLineParse.cpp
Disassembler.cpp
UICommon.cpp
USBUtils.cpp)
USBUtils.cpp
)
set(LIBS common cpp-optparse)
if(LIBUSB_FOUND)

View File

@ -12,13 +12,15 @@ set(SRCS
StreamBuffer.cpp
TextureCache.cpp
TextureConverter.cpp
VertexManager.cpp)
VertexManager.cpp
)
set(LIBS ${LIBS}
videocommon
SOIL
common
${X11_LIBRARIES})
${X11_LIBRARIES}
)
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|NetBSD")
set(LIBS ${LIBS} usbhid)

View File

@ -1,4 +1,5 @@
set(SRCS Clipper.cpp
set(SRCS
Clipper.cpp
DebugUtil.cpp
EfbCopy.cpp
EfbInterface.cpp
@ -11,11 +12,14 @@ set(SRCS Clipper.cpp
Tev.cpp
TextureEncoder.cpp
TextureSampler.cpp
TransformUnit.cpp)
TransformUnit.cpp
)
set(LIBS videocommon
set(LIBS
videocommon
SOIL
common
${X11_LIBRARIES})
${X11_LIBRARIES}
)
add_dolphin_library(videosoftware "${SRCS}" "${LIBS}")

View File

@ -1,4 +1,5 @@
set(SRCS AsyncRequests.cpp
set(SRCS
AsyncRequests.cpp
BoundingBox.cpp
BPFunctions.cpp
BPMemory.cpp
@ -44,8 +45,13 @@ set(SRCS AsyncRequests.cpp
VideoConfig.cpp
VideoState.cpp
XFMemory.cpp
XFStructs.cpp)
set(LIBS core png)
XFStructs.cpp
)
set(LIBS
core
png
)
if(_M_X86)
set(SRCS ${SRCS} TextureDecoder_x64.cpp VertexLoaderX64.cpp)