Move header files to include/

This commit is contained in:
Francesco Rigoni 2018-03-04 20:56:41 +01:00
parent a5d87d6b60
commit 38e75c0a75
42 changed files with 38 additions and 38 deletions

View File

@ -25,8 +25,6 @@ else ()
set (CMAKE_CXX_STANDARD 14)
endif ()
# Add all include directories
include_directories(include/** ${SIMPLE_LOGGER_SRC})
# Add paths for linker
link_directories(${SIMPLE_LOGGER_BIN})
@ -38,4 +36,4 @@ add_library(65816 ${sources_65816})
add_dependencies(65816 simple-logger)
target_link_libraries(65816 simpleLogger)
target_include_directories(65816 INTERFACE include/*)
target_include_directories(65816 PRIVATE ${PROJECT_SOURCE_DIR}/include ${SIMPLE_LOGGER_SRC})

View File

@ -27,7 +27,7 @@
#include "Addressing.hpp"
#include "Stack.hpp"
#include "CpuStatus.hpp"
#include "opcodes/OpCode.hpp"
#include "OpCode.hpp"
#include "Log.hpp"
#include "Binary.hpp"
#include "BuildConfig.hpp"

View File

@ -22,7 +22,7 @@
#include <stdint.h>
#include "../Addressing.hpp"
#include "Addressing.hpp"
class Cpu65816;

View File

@ -17,7 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Cpu65816.hpp"
#include <Cpu65816.hpp>
#include <OpCode.hpp>
#include <SystemBusDevice.hpp>
#define LOG_TAG "Addressing"

View File

@ -20,7 +20,7 @@
#ifndef OPCODE_TABLE_HPP
#define OPCODE_TABLE_HPP
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
OpCode Cpu65816::OP_CODE_TABLE[] = {
OpCode(0x00, "BRK", AddressingMode::Interrupt, &Cpu65816::executeInterrupt),

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeADC"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeASL"

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Interrupt.hpp"
#include "../Cpu65816.hpp"
#include "Interrupt.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeBIT"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeCMP"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeCPXCPY"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeEOR"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeINCDEC"

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Interrupt.hpp"
#include "../Cpu65816.hpp"
#include "Interrupt.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeInterrupt"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeJumpReturn"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeLSR"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeMisc"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#include <cmath>

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeROL"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeROR"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeSBC"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeSTA"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeSTX"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeSTY"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeSTZ"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeStack"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeStatusReg"

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Interrupt.hpp"
#include "../Cpu65816.hpp"
#include "Interrupt.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeTSBTRB"

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../Cpu65816.hpp"
#include "Cpu65816.hpp"
#define LOG_TAG "Cpu::executeTransfer"