diff --git a/client_files/export/CMakeLists.txt b/client_files/export/CMakeLists.txt index 3ed494936..c81977fb0 100644 --- a/client_files/export/CMakeLists.txt +++ b/client_files/export/CMakeLists.txt @@ -12,6 +12,7 @@ add_executable(export_client_files ${export_sources} ${export_headers}) install(TARGETS export_client_files RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) target_link_libraries(export_client_files common) +target_include_directories(export_client_files PRIVATE ../..) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) set_property(TARGET export_client_files PROPERTY FOLDER executables/tools) diff --git a/client_files/export/main.cpp b/client_files/export/main.cpp index 8d0a27a3c..1e845441a 100644 --- a/client_files/export/main.cpp +++ b/client_files/export/main.cpp @@ -16,27 +16,27 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include +#include "common/content/world_content_service.h" +#include "common/crash.h" +#include "common/eqemu_config.h" +#include "common/eqemu_logsys.h" +#include "common/events/player_event_logs.h" +#include "common/evolving_items.h" +#include "common/file.h" +#include "common/global_define.h" +#include "common/path_manager.h" +#include "common/platform.h" +#include "common/repositories/base_data_repository.h" +#include "common/repositories/db_str_repository.h" +#include "common/repositories/skill_caps_repository.h" +#include "common/repositories/spells_new_repository.h" +#include "common/rulesys.h" +#include "common/shareddb.h" +#include "common/skill_caps.h" +#include "common/strings.h" +#include "common/zone_store.h" -#include "../../common/eqemu_logsys.h" -#include "../../common/global_define.h" -#include "../../common/shareddb.h" -#include "../../common/eqemu_config.h" -#include "../../common/platform.h" -#include "../../common/crash.h" -#include "../../common/rulesys.h" -#include "../../common/strings.h" -#include "../../common/content/world_content_service.h" -#include "../../common/zone_store.h" -#include "../../common/path_manager.h" -#include "../../common/repositories/base_data_repository.h" -#include "../../common/repositories/db_str_repository.h" -#include "../../common/repositories/skill_caps_repository.h" -#include "../../common/repositories/spells_new_repository.h" -#include "../../common/file.h" -#include "../../common/events/player_event_logs.h" -#include "../../common/skill_caps.h" -#include "../../common/evolving_items.h" +#include void ExportSpells(SharedDatabase *db); void ExportSkillCaps(SharedDatabase *db); diff --git a/client_files/import/CMakeLists.txt b/client_files/import/CMakeLists.txt index 491d0cde9..7966eb3b3 100644 --- a/client_files/import/CMakeLists.txt +++ b/client_files/import/CMakeLists.txt @@ -12,6 +12,7 @@ add_executable(import_client_files ${import_sources} ${import_headers}) install(TARGETS import_client_files RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) target_link_libraries(import_client_files common) +target_include_directories(import_client_files PRIVATE ../..) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin) set_property(TARGET import_client_files PROPERTY FOLDER executables/tools) diff --git a/client_files/import/main.cpp b/client_files/import/main.cpp index b7be706d7..e24cdff8e 100644 --- a/client_files/import/main.cpp +++ b/client_files/import/main.cpp @@ -16,21 +16,21 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "../../common/eqemu_logsys.h" -#include "../../common/global_define.h" -#include "../../common/shareddb.h" -#include "../../common/eqemu_config.h" -#include "../../common/platform.h" -#include "../../common/crash.h" -#include "../../common/rulesys.h" -#include "../../common/strings.h" -#include "../../common/content/world_content_service.h" -#include "../../common/zone_store.h" -#include "../../common/path_manager.h" -#include "../../common/repositories/base_data_repository.h" -#include "../../common/file.h" -#include "../../common/events/player_event_logs.h" -#include "../../common/evolving_items.h" +#include "common/content/world_content_service.h" +#include "common/crash.h" +#include "common/eqemu_config.h" +#include "common/eqemu_logsys.h" +#include "common/events/player_event_logs.h" +#include "common/evolving_items.h" +#include "common/file.h" +#include "common/global_define.h" +#include "common/path_manager.h" +#include "common/platform.h" +#include "common/repositories/base_data_repository.h" +#include "common/rulesys.h" +#include "common/shareddb.h" +#include "common/strings.h" +#include "common/zone_store.h" void ImportSpells(SharedDatabase *db); void ImportSkillCaps(SharedDatabase *db);