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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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