Skip to content
Permalink
Browse files

[REFACT] Updated bearparser. Refactored to follow the changes.

  • Loading branch information
hasherezade committed Dec 30, 2018
1 parent edd6534 commit 8a325e731d47fe1f230451a581722dedbd22b7a4
Showing with 10 additions and 8 deletions.
  1. +5 −3 CMakeLists.txt
  2. +1 −1 bearparser
  3. +1 −1 patcher/CMakeLists.txt
  4. +1 −1 patcher/InfoTableModel.h
  5. +1 −1 patcher/dllparse/FunctionsModel.h
  6. +1 −1 patcher/dllparse/LibsModel.h
@@ -3,16 +3,18 @@ project (IAT_Patcher)

# modules:
set ( M_BEARPARSER "bearparser/parser" )
set ( M_COMMANDER "patcher" )
set ( M_IATP "patcher" )

# modules paths:
set (PARSER_DIR "${CMAKE_SOURCE_DIR}/${M_BEARPARSER}" CACHE PATH "BearParser main path")
set (COMMANDER_DIR "${CMAKE_SOURCE_DIR}/${M_COMMANDER}" CACHE PATH "BearCommander main path")
set (PARSER_INC "${PARSER_DIR}/include" CACHE PATH "BearParser include path")

set (IATP_DIR "${CMAKE_SOURCE_DIR}/${M_IATP}" CACHE PATH "IATPatcher main path")

# Add sub-directories
#
# libs
add_subdirectory (bearparser/parser)
add_subdirectory (${M_BEARPARSER})
set (PARSER_LIB bearparser CACHE FILE "BearParser library path")

# executables
@@ -8,7 +8,7 @@ message (STATUS "parser_lib='${PARSER_LIB}'")
find_package(Qt5Widgets)
find_package(Qt5Core)

include_directories (${PARSER_DIR})
include_directories ( ${PARSER_INC} )

set (stub_hdrs
stub/Stub.h
@@ -3,7 +3,7 @@
#include <QAbstractTableModel>
#include "Executables.h"

#include <Formatter.h>
#include <bearparser.h>

class InfoTableModel : public QAbstractTableModel
{
@@ -1,7 +1,7 @@
#pragma once

#include <QAbstractTableModel>
#include <Formatter.h>
#include <bearparser.h>

#include "LibraryInfo.h"

@@ -1,7 +1,7 @@
#pragma once

#include <QAbstractTableModel>
#include <Formatter.h>
#include <bearparser.h>

#include "LibraryInfo.h"

0 comments on commit 8a325e7

Please sign in to comment.
You can’t perform that action at this time.