]> granicus.if.org Git - graphviz/commitdiff
disambiguate cmd/gvedit #includes
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 23 Aug 2020 22:51:58 +0000 (15:51 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 16 Sep 2020 14:23:18 +0000 (07:23 -0700)
Related to #1785.

cmd/gvedit/Makefile.am
cmd/gvedit/csettings.h
cmd/gvedit/gvedit.vcxproj
cmd/gvedit/main.cpp

index ccf1eea303b8fc9a5d528d6032f005df4abf95b6..355c5ea7c25d7553b7ddc9af4873d61b62eaa141 100644 (file)
@@ -17,6 +17,7 @@ pdf_DATA = $(pdfs)
 endif
 
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/lib \
        -I$(top_srcdir)/lib/common \
        -I$(top_srcdir)/lib/gvc \
        -I$(top_srcdir)/lib/pathplan \
index 04c63143e8dc0544eeef40b1c96df492929cf20e..166662ae285d48f1e1152f1d344f1c66980cd196 100644 (file)
@@ -22,7 +22,7 @@ class MdiChild;
 
 #include "config.h"
 
-#include "gvc.h"
+#include <gvc/gvc.h>
 
 class CFrmSettings : public QDialog
 {
index 80247f4d289a32920b435efd1507ea609ebe61ad..c46ef5ff0f6da53b0fdb7224b9093ba1da9d9b77 100644 (file)
@@ -60,7 +60,7 @@
     <ClCompile>
       <AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\..\Qt\4.8.3\include\QtCore;..\..\..\..\Qt\4.8.3\include\QtGui;..\..\..\..\Qt\4.8.3\include;..\..\lib\gvc;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cgraph;..\..\lib\cdt;..\..;..\..\..\..\Qt\4.8.3\include\ActiveQt;debug;..\..\..\..\Qt\4.8.3\mkspecs\win32-msvc2008;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\..\Qt\4.8.3\include\QtCore;..\..\..\..\Qt\4.8.3\include\QtGui;..\..\..\..\Qt\4.8.3\include;$(SolutionDir)\lib;..\..\lib\gvc;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cgraph;..\..\lib\cdt;..\..;..\..\..\..\Qt\4.8.3\include\ActiveQt;debug;..\..\..\..\Qt\4.8.3\mkspecs\win32-msvc2008;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_WINDOWS;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_DLL;QT_GUI_LIB;QT_CORE_LIB;QT_HAVE_MMX;QT_HAVE_3DNOW;QT_HAVE_SSE;QT_HAVE_MMXEXT;QT_HAVE_SSE2;QT_THREAD_SUPPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <PreprocessToFile>false</PreprocessToFile>
       <PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
@@ -99,7 +99,7 @@
     <ClCompile>
       <AdditionalOptions>-Zm200 -w34100 -w34189 %(AdditionalOptions)</AdditionalOptions>
       <Optimization>MaxSpeed</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\..\Qt\4.8.3\include\QtCore;..\..\..\..\Qt\4.8.3\include\QtGui;..\..\..\..\Qt\4.8.3\include;..\..\lib\gvc;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cgraph;..\..\lib\cdt;..\..;..\..\..\..\Qt\4.8.3\include\ActiveQt;release;..\..\..\..\Qt\4.8.3\mkspecs\win32-msvc2008;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\..\Qt\4.8.3\include\QtCore;..\..\..\..\Qt\4.8.3\include\QtGui;..\..\..\..\Qt\4.8.3\include;$(SolutionDir)\lib;..\..\lib\gvc;..\..\lib\common;..\..\lib\pathplan;..\..\lib\cgraph;..\..\lib\cdt;..\..;..\..\..\..\Qt\4.8.3\include\ActiveQt;release;..\..\..\..\Qt\4.8.3\mkspecs\win32-msvc2008;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_WINDOWS;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;QT_DLL;QT_NO_DEBUG;QT_GUI_LIB;QT_CORE_LIB;QT_HAVE_MMX;QT_HAVE_3DNOW;QT_HAVE_SSE;QT_HAVE_MMXEXT;QT_HAVE_SSE2;QT_THREAD_SUPPORT;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <PreprocessToFile>false</PreprocessToFile>
       <PreprocessSuppressLineNumbers>false</PreprocessSuppressLineNumbers>
index 979111f5fcdfe55c0b1148d8f75c6f61bfc37c1b..0901e5e3a2642017b9386beebdf09bebd5d25894 100644 (file)
@@ -23,8 +23,8 @@
 #include "mainwindow.h"
 
 #include <getopt.h>
-#include "gvc.h"
-#include "globals.h"
+#include <gvc/gvc.h>
+#include <common/globals.h>
 
 
 #ifdef _WIN32