diff --git a/commandLine/config.make b/commandLine/config.make index 443af4e0..93c6ca9b 100644 --- a/commandLine/config.make +++ b/commandLine/config.make @@ -143,3 +143,42 @@ PROJECT_OPTIMIZATION_CFLAGS_RELEASE = -O3 # PROJECT_CXX = # PROJECT_CC = + +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/utils +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/sound +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/3d +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/communication +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/events +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/gl +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/graphics +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/math +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/types +PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/video + +PLATFORM_CORE_EXCLUSIONS += ../../../libs/boost% +PLATFORM_CORE_EXCLUSIONS += ../../../libs/cairo% +PLATFORM_CORE_EXCLUSIONS += ../../../libs/rtAudio% +PLATFORM_CORE_EXCLUSIONS += ../../../libs/glm% + +# unable to remove because ofURLFileLoaderImpl is being used by ofImage, which is being used by ofUtils +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/curl% + +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/fmod% +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/freetype% +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/FreeImage% + +# ../../../libs/openFrameworks/utils/ofConstants.h:192:11: fatal error: 'GL/glew.h' file not found +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/glew% + +# not possible to remove yet +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/glfw% + +# ../../../libs/openFrameworks/utils/ofConstants.h:287:10: fatal error: 'tesselator.h' file not found +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/tess2% + +# inside ofImage inside ofUtils +#PLATFORM_CORE_EXCLUSIONS += ../../../libs/uriparser% + +# FIXME: REMOVE +#PROJECT_CXX = include-what-you-use +#PROJECT_CC = include-what-you-use \ No newline at end of file diff --git a/commandLine/src/addons/ofAddon.h b/commandLine/src/addons/ofAddon.h index a9f12842..3f537ebe 100644 --- a/commandLine/src/addons/ofAddon.h +++ b/commandLine/src/addons/ofAddon.h @@ -8,9 +8,11 @@ #ifndef OFADDON_H_ #define OFADDON_H_ +// FIXME: of::filesystem only #include "ofConstants.h" #include "LibraryBinary.h" #include +// #include // About Metadata diff --git a/commandLine/src/main.cpp b/commandLine/src/main.cpp index 578a7e9f..83ca3996 100644 --- a/commandLine/src/main.cpp +++ b/commandLine/src/main.cpp @@ -1,11 +1,11 @@ -//#include "ofMain.h" +#define TARGET_NO_SOUND +#define TARGET_NODISPLAY #include "optionparser.h" #include "defines.h" +#include "Utils.h" +#include -#include "Utils.h" // TODO: remove, temporary, only for alert function - -//cxxopts::Options options("Project Generator", "OpenFrameworks tool to generate projects"); enum optionIndex { UNKNOWN, HELP, PLUS, RECURSIVE, LISTTEMPLATES, PLATFORMS, ADDONS, OFPATH, VERBOSE, TEMPLATE, DRYRUN, SRCEXTERNAL, VERSION}; constexpr option::Descriptor usage[] = @@ -25,11 +25,6 @@ constexpr option::Descriptor usage[] = {0,0,0,0,0,0} }; -#include "qtcreatorproject.h" -#include "visualStudioProject.h" -#include "xcodeProject.h" -#include "androidStudioProject.h" -#include "Utils.h" using std::cout; using std::endl; diff --git a/commandLine/src/projects/CBLinuxProject.h b/commandLine/src/projects/CBLinuxProject.h index 1a2427e9..b3075099 100644 --- a/commandLine/src/projects/CBLinuxProject.h +++ b/commandLine/src/projects/CBLinuxProject.h @@ -8,8 +8,6 @@ #ifndef CBLINUXPROJECT_H_ #define CBLINUXPROJECT_H_ -#include "ofConstants.h" -#include "ofAddon.h" #include "CBWinProject.h" #include "LibraryBinary.h" diff --git a/commandLine/src/projects/CBWinProject.h b/commandLine/src/projects/CBWinProject.h index f8e57365..66fe5f85 100644 --- a/commandLine/src/projects/CBWinProject.h +++ b/commandLine/src/projects/CBWinProject.h @@ -8,8 +8,6 @@ #ifndef CBWINPROJECT_H_ #define CBWINPROJECT_H_ -#include "ofConstants.h" -#include "ofAddon.h" #include "baseProject.h" class CBWinProject: public baseProject { diff --git a/commandLine/src/projects/baseProject.h b/commandLine/src/projects/baseProject.h index c99beaae..f2ac008f 100644 --- a/commandLine/src/projects/baseProject.h +++ b/commandLine/src/projects/baseProject.h @@ -1,9 +1,6 @@ - - #pragma once #include "ofAddon.h" -#include "ofConstants.h" #include "ofFileUtils.h" #include "pugixml.hpp" // TODO: - Remove diff --git a/commandLine/src/projects/visualStudioProject.h b/commandLine/src/projects/visualStudioProject.h index 0037b0cb..40f5fdfe 100644 --- a/commandLine/src/projects/visualStudioProject.h +++ b/commandLine/src/projects/visualStudioProject.h @@ -1,9 +1,6 @@ - #ifndef VSWINPROJECT_H_ #define VSWINPROJECT_H_ -#include "ofConstants.h" -#include "ofAddon.h" #include "baseProject.h" class visualStudioProject : public baseProject { @@ -29,12 +26,9 @@ class visualStudioProject : public baseProject { pugi::xml_document filterXmlDoc; - void appendFilter(std::string folderName); - private: }; - #endif diff --git a/commandLine/src/projects/xcodeProject.cpp b/commandLine/src/projects/xcodeProject.cpp index 7c6c7df8..5fb97839 100644 --- a/commandLine/src/projects/xcodeProject.cpp +++ b/commandLine/src/projects/xcodeProject.cpp @@ -1,7 +1,7 @@ #include "xcodeProject.h" #include "Utils.h" -#include #include "json.hpp" +#include using std::vector; using std::string; diff --git a/commandLine/src/projects/xcodeProject.h b/commandLine/src/projects/xcodeProject.h index e7166ced..1787b3ac 100644 --- a/commandLine/src/projects/xcodeProject.h +++ b/commandLine/src/projects/xcodeProject.h @@ -1,5 +1,3 @@ - - #pragma once #include "baseProject.h" diff --git a/commandLine/src/utils/Utils.h b/commandLine/src/utils/Utils.h index f971757d..71fde996 100644 --- a/commandLine/src/utils/Utils.h +++ b/commandLine/src/utils/Utils.h @@ -10,14 +10,10 @@ #include "pugixml.hpp" -#include "ofConstants.h" -#include "ofFileUtils.h" #include "ofLog.h" -#include "ofUtils.h" #include "ofSystemUtils.h" -#include "LibraryBinary.h" #include "baseProject.h" - +struct LibraryBinary; std::string generateUUID(std::string input);