Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions commandLine/config.make
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions commandLine/src/addons/ofAddon.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
#ifndef OFADDON_H_
#define OFADDON_H_

// FIXME: of::filesystem only
#include "ofConstants.h"
#include "LibraryBinary.h"
#include <unordered_map>
// #include <map>

// About Metadata

Expand Down
13 changes: 4 additions & 9 deletions commandLine/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
//#include "ofMain.h"
#define TARGET_NO_SOUND
#define TARGET_NODISPLAY

#include "optionparser.h"
#include "defines.h"
#include "Utils.h"
#include <set>

#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[] =
Expand All @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions commandLine/src/projects/CBLinuxProject.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef CBLINUXPROJECT_H_
#define CBLINUXPROJECT_H_

#include "ofConstants.h"
#include "ofAddon.h"
#include "CBWinProject.h"
#include "LibraryBinary.h"

Expand Down
2 changes: 0 additions & 2 deletions commandLine/src/projects/CBWinProject.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#ifndef CBWINPROJECT_H_
#define CBWINPROJECT_H_

#include "ofConstants.h"
#include "ofAddon.h"
#include "baseProject.h"

class CBWinProject: public baseProject {
Expand Down
3 changes: 0 additions & 3 deletions commandLine/src/projects/baseProject.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@


#pragma once

#include "ofAddon.h"
#include "ofConstants.h"
#include "ofFileUtils.h"
#include "pugixml.hpp"
// TODO: - Remove
Expand Down
6 changes: 0 additions & 6 deletions commandLine/src/projects/visualStudioProject.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

#ifndef VSWINPROJECT_H_
#define VSWINPROJECT_H_

#include "ofConstants.h"
#include "ofAddon.h"
#include "baseProject.h"

class visualStudioProject : public baseProject {
Expand All @@ -29,12 +26,9 @@ class visualStudioProject : public baseProject {

pugi::xml_document filterXmlDoc;


void appendFilter(std::string folderName);


private:

};

#endif
2 changes: 1 addition & 1 deletion commandLine/src/projects/xcodeProject.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "xcodeProject.h"
#include "Utils.h"
#include <iostream>
#include "json.hpp"
#include <iostream>

using std::vector;
using std::string;
Expand Down
2 changes: 0 additions & 2 deletions commandLine/src/projects/xcodeProject.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


#pragma once

#include "baseProject.h"
Expand Down
6 changes: 1 addition & 5 deletions commandLine/src/utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down