Move header files to include/

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

View File

@ -26,7 +26,7 @@ else ()
endif ()
# Add all include directories
include_directories(include/** ${SIMPLE_LOGGER_SRC})
include_directories(include/ ${SIMPLE_LOGGER_SRC})
# Add paths for linker
link_directories(${SIMPLE_LOGGER_BIN})
@ -37,5 +37,3 @@ file(GLOB sources_65816 src/*.cpp src/opcodes/*.cpp)
add_library(65816 ${sources_65816})
add_dependencies(65816 simple-logger)
target_link_libraries(65816 simpleLogger)
target_include_directories(65816 INTERFACE include/*)

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

@ -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"