Skip to content

Commit 6765e20

Browse files
committed
2 parents bea73b9 + bc98840 commit 6765e20

10 files changed

Lines changed: 47 additions & 30 deletions

File tree

commandLine/config.make

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,42 @@ PROJECT_OPTIMIZATION_CFLAGS_RELEASE = -O3
143143
# PROJECT_CXX =
144144
# PROJECT_CC =
145145

146+
147+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/utils
148+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/sound
149+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/3d
150+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/communication
151+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/events
152+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/gl
153+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/graphics
154+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/math
155+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/types
156+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/openFrameworks/video
157+
158+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/boost%
159+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/cairo%
160+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/rtAudio%
161+
PLATFORM_CORE_EXCLUSIONS += ../../../libs/glm%
162+
163+
# unable to remove because ofURLFileLoaderImpl is being used by ofImage, which is being used by ofUtils
164+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/curl%
165+
166+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/fmod%
167+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/freetype%
168+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/FreeImage%
169+
170+
# ../../../libs/openFrameworks/utils/ofConstants.h:192:11: fatal error: 'GL/glew.h' file not found
171+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/glew%
172+
173+
# not possible to remove yet
174+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/glfw%
175+
176+
# ../../../libs/openFrameworks/utils/ofConstants.h:287:10: fatal error: 'tesselator.h' file not found
177+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/tess2%
178+
179+
# inside ofImage inside ofUtils
180+
#PLATFORM_CORE_EXCLUSIONS += ../../../libs/uriparser%
181+
182+
# FIXME: REMOVE
183+
#PROJECT_CXX = include-what-you-use
184+
#PROJECT_CC = include-what-you-use

commandLine/src/addons/ofAddon.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
#ifndef OFADDON_H_
99
#define OFADDON_H_
1010

11+
// FIXME: of::filesystem only
1112
#include "ofConstants.h"
1213
#include "LibraryBinary.h"
1314
#include <unordered_map>
15+
// #include <map>
1416

1517
// About Metadata
1618

commandLine/src/main.cpp

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
//#include "ofMain.h"
1+
#define TARGET_NO_SOUND
2+
#define TARGET_NODISPLAY
23

34
#include "optionparser.h"
45
#include "defines.h"
6+
#include "Utils.h"
7+
#include <set>
58

6-
#include "Utils.h" // TODO: remove, temporary, only for alert function
7-
8-
//cxxopts::Options options("Project Generator", "OpenFrameworks tool to generate projects");
99
enum optionIndex { UNKNOWN, HELP, PLUS, RECURSIVE, LISTTEMPLATES, PLATFORMS, ADDONS, OFPATH, VERBOSE, TEMPLATE, DRYRUN, SRCEXTERNAL, VERSION};
1010

1111
constexpr option::Descriptor usage[] =
@@ -25,11 +25,6 @@ constexpr option::Descriptor usage[] =
2525
{0,0,0,0,0,0}
2626
};
2727

28-
#include "qtcreatorproject.h"
29-
#include "visualStudioProject.h"
30-
#include "xcodeProject.h"
31-
#include "androidStudioProject.h"
32-
#include "Utils.h"
3328

3429
using std::cout;
3530
using std::endl;

commandLine/src/projects/CBLinuxProject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#ifndef CBLINUXPROJECT_H_
99
#define CBLINUXPROJECT_H_
1010

11-
#include "ofConstants.h"
12-
#include "ofAddon.h"
1311
#include "CBWinProject.h"
1412
#include "LibraryBinary.h"
1513

commandLine/src/projects/CBWinProject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#ifndef CBWINPROJECT_H_
99
#define CBWINPROJECT_H_
1010

11-
#include "ofConstants.h"
12-
#include "ofAddon.h"
1311
#include "baseProject.h"
1412

1513
class CBWinProject: public baseProject {

commandLine/src/projects/baseProject.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
2-
31
#pragma once
42

53
#include "ofAddon.h"
6-
#include "ofConstants.h"
74
#include "ofFileUtils.h"
85
#include "pugixml.hpp"
96
// TODO: - Remove

commandLine/src/projects/visualStudioProject.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
21
#ifndef VSWINPROJECT_H_
32
#define VSWINPROJECT_H_
43

5-
#include "ofConstants.h"
6-
#include "ofAddon.h"
74
#include "baseProject.h"
85

96
class visualStudioProject : public baseProject {
@@ -29,12 +26,9 @@ class visualStudioProject : public baseProject {
2926

3027
pugi::xml_document filterXmlDoc;
3128

32-
3329
void appendFilter(std::string folderName);
3430

35-
3631
private:
3732

3833
};
39-
4034
#endif

commandLine/src/projects/xcodeProject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "xcodeProject.h"
22
#include "Utils.h"
3-
#include <iostream>
43
#include "json.hpp"
4+
#include <iostream>
55

66
using std::vector;
77
using std::string;

commandLine/src/projects/xcodeProject.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
#pragma once
42

53
#include "baseProject.h"

commandLine/src/utils/Utils.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@
1010

1111
#include "pugixml.hpp"
1212

13-
#include "ofConstants.h"
14-
#include "ofFileUtils.h"
1513
#include "ofLog.h"
16-
#include "ofUtils.h"
1714
#include "ofSystemUtils.h"
18-
#include "LibraryBinary.h"
1915
#include "baseProject.h"
20-
16+
struct LibraryBinary;
2117

2218
std::string generateUUID(std::string input);
2319

0 commit comments

Comments
 (0)