mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-06 03:12:19 +00:00
fixing cmake indent
This commit is contained in:
+109
-109
@@ -9,115 +9,115 @@ add_compile_options(-W -Wall -Wextra -Wshadow)
|
||||
|
||||
# make unit tests
|
||||
add_executable(unit_tests EXCLUDE_FROM_ALL
|
||||
tests/CPU/testAddressingMode.cpp
|
||||
tests/CPU/testInterupts.cpp
|
||||
tests/testMemoryBus.cpp
|
||||
tests/tests.hpp
|
||||
sources/SNES.cpp
|
||||
sources/SNES.hpp
|
||||
sources/Memory/MemoryBus.cpp
|
||||
sources/Memory/MemoryBus.hpp
|
||||
sources/Memory/AMemory.hpp
|
||||
sources/Memory/AMemory.cpp
|
||||
sources/PPU/PPU.cpp
|
||||
sources/PPU/PPU.hpp
|
||||
sources/CPU/CPU.cpp
|
||||
sources/CPU/CPU.hpp
|
||||
sources/Cartridge/Cartridge.cpp
|
||||
sources/Cartridge/Cartridge.hpp
|
||||
sources/Exceptions/NotImplementedException.hpp
|
||||
sources/APU/APU.hpp
|
||||
sources/APU/APU.cpp
|
||||
sources/Exceptions/InvalidAddress.hpp
|
||||
sources/Exceptions/InvalidRom.hpp
|
||||
sources/Models/Int24.hpp
|
||||
sources/Models/Int24.hpp
|
||||
sources/Ram/Ram.cpp
|
||||
sources/Ram/Ram.hpp
|
||||
sources/Memory/MemoryShadow.cpp
|
||||
sources/Memory/MemoryShadow.hpp
|
||||
sources/Memory/ARectangleMemory.cpp
|
||||
sources/Memory/ARectangleMemory.hpp
|
||||
sources/APU/DSP/DSP.cpp
|
||||
sources/APU/DSP/DSP.hpp
|
||||
sources/Renderer/IRenderer.hpp
|
||||
sources/Renderer/NoRenderer.hpp
|
||||
sources/Renderer/NoRenderer.cpp
|
||||
sources/Exceptions/InvalidAction.hpp
|
||||
sources/Cartridge/InterruptVectors.hpp
|
||||
sources/Memory/RectangleShadow.cpp
|
||||
sources/Memory/RectangleShadow.hpp
|
||||
sources/Exceptions/InvalidOpcode.hpp
|
||||
sources/CPU/Instructions/Interrupts.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
sources/APU/Instructions/Standbys.cpp
|
||||
tests/APU/testAPUInstructions.cpp
|
||||
sources/APU/Instructions/ProgramStatusWord.cpp
|
||||
sources/APU/Instructions/Bit.cpp
|
||||
tests/APU/testAPU.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
tests/CPU/testAddressingMode.cpp
|
||||
tests/PPU/testPpuWrite.cpp
|
||||
tests/PPU/testPpuWriteFromVmain.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
sources/CPU/Instructions/MemoryInstructions.cpp
|
||||
tests/CPU/Math/testADC.cpp
|
||||
tests/CPU/testStore.cpp
|
||||
sources/CPU/Instructions/InternalInstruction.cpp
|
||||
tests/CPU/testInternal.cpp
|
||||
sources/Ram/ExtendedRam.cpp
|
||||
sources/Ram/ExtendedRam.hpp
|
||||
sources/Utility/Utility.hpp
|
||||
sources/Utility/Utility.cpp
|
||||
sources/CPU/Instructions/BitsInstructions.cpp
|
||||
tests/CPU/testBits.cpp
|
||||
sources/APU/Instructions/Bit.cpp
|
||||
sources/APU/Instructions/Stack.cpp
|
||||
sources/APU/Instructions/Subroutine.cpp
|
||||
sources/APU/Instructions/ProgramFlow.cpp
|
||||
sources/APU/Operand.cpp
|
||||
sources/APU/Instructions/DecimalCompensation.cpp
|
||||
sources/APU/Instructions/MultiplicationDivision.cpp
|
||||
sources/APU/Instructions/16bitArithmetic.cpp
|
||||
sources/APU/Instructions/16bitDataTransmission.cpp
|
||||
sources/APU/Instructions/8bitShiftRotation.cpp
|
||||
sources/APU/Instructions/8bitIncrementDecrement.cpp
|
||||
sources/APU/Instructions/8bitLogical.cpp
|
||||
tests/APU/testOperand.cpp
|
||||
sources/APU/Instructions/8bitArithmetic.cpp
|
||||
sources/APU/Instructions/8bitDataTransmission.cpp
|
||||
sources/APU/IPL/IPL.hpp
|
||||
sources/APU/IPL/IPL.cpp
|
||||
tests/CPU/Math/testSBC.cpp
|
||||
sources/CPU/Instructions/TransferRegisters.cpp
|
||||
tests/CPU/testTransfers.cpp
|
||||
sources/CPU/AddressingModes.cpp
|
||||
sources/Models/Components.hpp
|
||||
sources/CPU/Instruction.hpp
|
||||
sources/Exceptions/DebuggableError.hpp
|
||||
tests/CPU/Math/testOthersMath.cpp
|
||||
tests/testRectangleMemory.cpp
|
||||
tests/CPU/Math/testCMP.cpp
|
||||
sources/PPU/Background.cpp
|
||||
sources/PPU/Background.hpp
|
||||
sources/PPU/PPUUtils.cpp
|
||||
tests/PPU/testBackground.cpp
|
||||
tests/PPU/testPpuRead.cpp
|
||||
sources/CPU/DMA/DMA.cpp
|
||||
sources/CPU/DMA/DMA.hpp
|
||||
tests/CPU/testDMA.cpp
|
||||
sources/Memory/IMemory.hpp
|
||||
sources/APU/DSP/Voice.cpp
|
||||
sources/APU/DSP/Echo.cpp
|
||||
sources/APU/DSP/Gauss.cpp
|
||||
sources/APU/DSP/Envelope.cpp
|
||||
sources/APU/DSP/Timer.cpp
|
||||
sources/APU/DSP/BRR.cpp
|
||||
sources/PPU/PPUUtils.cpp
|
||||
sources/PPU/Tile.hpp
|
||||
sources/PPU/TileRenderer.cpp
|
||||
sources/PPU/TileRenderer.hpp
|
||||
)
|
||||
tests/CPU/testAddressingMode.cpp
|
||||
tests/CPU/testInterupts.cpp
|
||||
tests/testMemoryBus.cpp
|
||||
tests/tests.hpp
|
||||
sources/SNES.cpp
|
||||
sources/SNES.hpp
|
||||
sources/Memory/MemoryBus.cpp
|
||||
sources/Memory/MemoryBus.hpp
|
||||
sources/Memory/AMemory.hpp
|
||||
sources/Memory/AMemory.cpp
|
||||
sources/PPU/PPU.cpp
|
||||
sources/PPU/PPU.hpp
|
||||
sources/CPU/CPU.cpp
|
||||
sources/CPU/CPU.hpp
|
||||
sources/Cartridge/Cartridge.cpp
|
||||
sources/Cartridge/Cartridge.hpp
|
||||
sources/Exceptions/NotImplementedException.hpp
|
||||
sources/APU/APU.hpp
|
||||
sources/APU/APU.cpp
|
||||
sources/Exceptions/InvalidAddress.hpp
|
||||
sources/Exceptions/InvalidRom.hpp
|
||||
sources/Models/Int24.hpp
|
||||
sources/Models/Int24.hpp
|
||||
sources/Ram/Ram.cpp
|
||||
sources/Ram/Ram.hpp
|
||||
sources/Memory/MemoryShadow.cpp
|
||||
sources/Memory/MemoryShadow.hpp
|
||||
sources/Memory/ARectangleMemory.cpp
|
||||
sources/Memory/ARectangleMemory.hpp
|
||||
sources/APU/DSP/DSP.cpp
|
||||
sources/APU/DSP/DSP.hpp
|
||||
sources/Renderer/IRenderer.hpp
|
||||
sources/Renderer/NoRenderer.hpp
|
||||
sources/Renderer/NoRenderer.cpp
|
||||
sources/Exceptions/InvalidAction.hpp
|
||||
sources/Cartridge/InterruptVectors.hpp
|
||||
sources/Memory/RectangleShadow.cpp
|
||||
sources/Memory/RectangleShadow.hpp
|
||||
sources/Exceptions/InvalidOpcode.hpp
|
||||
sources/CPU/Instructions/Interrupts.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
sources/APU/Instructions/Standbys.cpp
|
||||
tests/APU/testAPUInstructions.cpp
|
||||
sources/APU/Instructions/ProgramStatusWord.cpp
|
||||
sources/APU/Instructions/Bit.cpp
|
||||
tests/APU/testAPU.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
tests/CPU/testAddressingMode.cpp
|
||||
tests/PPU/testPpuWrite.cpp
|
||||
tests/PPU/testPpuWriteFromVmain.cpp
|
||||
sources/CPU/Instructions/MathematicalOperations.cpp
|
||||
sources/CPU/Instructions/MemoryInstructions.cpp
|
||||
tests/CPU/Math/testADC.cpp
|
||||
tests/CPU/testStore.cpp
|
||||
sources/CPU/Instructions/InternalInstruction.cpp
|
||||
tests/CPU/testInternal.cpp
|
||||
sources/Ram/ExtendedRam.cpp
|
||||
sources/Ram/ExtendedRam.hpp
|
||||
sources/Utility/Utility.hpp
|
||||
sources/Utility/Utility.cpp
|
||||
sources/CPU/Instructions/BitsInstructions.cpp
|
||||
tests/CPU/testBits.cpp
|
||||
sources/APU/Instructions/Bit.cpp
|
||||
sources/APU/Instructions/Stack.cpp
|
||||
sources/APU/Instructions/Subroutine.cpp
|
||||
sources/APU/Instructions/ProgramFlow.cpp
|
||||
sources/APU/Operand.cpp
|
||||
sources/APU/Instructions/DecimalCompensation.cpp
|
||||
sources/APU/Instructions/MultiplicationDivision.cpp
|
||||
sources/APU/Instructions/16bitArithmetic.cpp
|
||||
sources/APU/Instructions/16bitDataTransmission.cpp
|
||||
sources/APU/Instructions/8bitShiftRotation.cpp
|
||||
sources/APU/Instructions/8bitIncrementDecrement.cpp
|
||||
sources/APU/Instructions/8bitLogical.cpp
|
||||
tests/APU/testOperand.cpp
|
||||
sources/APU/Instructions/8bitArithmetic.cpp
|
||||
sources/APU/Instructions/8bitDataTransmission.cpp
|
||||
sources/APU/IPL/IPL.hpp
|
||||
sources/APU/IPL/IPL.cpp
|
||||
tests/CPU/Math/testSBC.cpp
|
||||
sources/CPU/Instructions/TransferRegisters.cpp
|
||||
tests/CPU/testTransfers.cpp
|
||||
sources/CPU/AddressingModes.cpp
|
||||
sources/Models/Components.hpp
|
||||
sources/CPU/Instruction.hpp
|
||||
sources/Exceptions/DebuggableError.hpp
|
||||
tests/CPU/Math/testOthersMath.cpp
|
||||
tests/testRectangleMemory.cpp
|
||||
tests/CPU/Math/testCMP.cpp
|
||||
sources/PPU/Background.cpp
|
||||
sources/PPU/Background.hpp
|
||||
sources/PPU/PPUUtils.cpp
|
||||
tests/PPU/testBackground.cpp
|
||||
tests/PPU/testPpuRead.cpp
|
||||
sources/CPU/DMA/DMA.cpp
|
||||
sources/CPU/DMA/DMA.hpp
|
||||
tests/CPU/testDMA.cpp
|
||||
sources/Memory/IMemory.hpp
|
||||
sources/APU/DSP/Voice.cpp
|
||||
sources/APU/DSP/Echo.cpp
|
||||
sources/APU/DSP/Gauss.cpp
|
||||
sources/APU/DSP/Envelope.cpp
|
||||
sources/APU/DSP/Timer.cpp
|
||||
sources/APU/DSP/BRR.cpp
|
||||
sources/PPU/PPUUtils.cpp
|
||||
sources/PPU/Tile.hpp
|
||||
sources/PPU/TileRenderer.cpp
|
||||
sources/PPU/TileRenderer.hpp
|
||||
)
|
||||
|
||||
# include criterion & coverage
|
||||
target_link_libraries(unit_tests criterion -lgcov)
|
||||
|
||||
Reference in New Issue
Block a user