mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
[WIP] Remove almost all remaining references to wxWidgets/GD4 IDE related code from codebase
This commit is contained in:
@@ -5,11 +5,7 @@
|
||||
-DGD_IDE_ONLY
|
||||
-DMACOS
|
||||
-DRELEASE
|
||||
-DWXUSINGDLL
|
||||
-D_FILE_OFFSET_BITS=64
|
||||
-D__WXMAC__
|
||||
-D__WXOSX_COCOA__
|
||||
-D__WXOSX__
|
||||
-DwxDEBUG_LEVEL=0
|
||||
-D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
|
||||
-Wno-potentially-evaluated-expression
|
||||
|
9
.gitignore
vendored
9
.gitignore
vendored
@@ -3,8 +3,6 @@
|
||||
/docs/GDJS Documentation
|
||||
/docs/GDCpp Documentation
|
||||
/docs/GDCore Documentation
|
||||
/ExtLibs/wxwidgets
|
||||
/ExtLibs/wxWidgets
|
||||
/ExtLibs/SFML
|
||||
/ExtLibs/*.7z
|
||||
/scripts/Repository keys
|
||||
@@ -20,13 +18,6 @@
|
||||
/Binaries/Releases/**/*.tar.lzma
|
||||
/Binaries/Releases/**/*.zip
|
||||
/Binaries/Releases/**/*.deb
|
||||
Binaries/Packaging/debian-source-package/gdevelop/
|
||||
Binaries/Packaging/opensuse-build-service/gdevelop/
|
||||
Binaries/Packaging/opensuse-build-service/final/
|
||||
Binaries/Packaging/GDevelop.app
|
||||
Binaries/Packaging/GDevelop.zip
|
||||
Binaries/Packaging/GDevelop.pkg
|
||||
Binaries/Packaging/logs
|
||||
/GDevelop.js
|
||||
*.depend
|
||||
*.layout
|
||||
|
20
.vscode/c_cpp_properties.json
vendored
20
.vscode/c_cpp_properties.json
vendored
@@ -15,19 +15,13 @@
|
||||
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
|
||||
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
|
||||
"/usr/include",
|
||||
"/usr/local/lib/wx/include/osx_cocoa-unicode-3.0",
|
||||
"/usr/local/include/wx-3.0",
|
||||
"${workspaceRoot}"
|
||||
],
|
||||
"defines": [
|
||||
"GD_IDE_ONLY",
|
||||
"__WXMAC__",
|
||||
"__WXOSX__",
|
||||
"__WXOSX_COCOA__",
|
||||
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"WXUSINGDLL"
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
|
||||
],
|
||||
"intelliSenseMode": "clang-x64",
|
||||
"browse": {
|
||||
@@ -66,13 +60,9 @@
|
||||
],
|
||||
"defines": [
|
||||
"GD_IDE_ONLY",
|
||||
"__WXMAC__",
|
||||
"__WXOSX__",
|
||||
"__WXOSX_COCOA__",
|
||||
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"WXUSINGDLL"
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
|
||||
],
|
||||
"intelliSenseMode": "clang-x64",
|
||||
"browse": {
|
||||
@@ -102,13 +92,9 @@
|
||||
"_DEBUG",
|
||||
"UNICODE",
|
||||
"GD_IDE_ONLY",
|
||||
"__WXMAC__",
|
||||
"__WXOSX__",
|
||||
"__WXOSX_COCOA__",
|
||||
"GD_CORE_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */",
|
||||
"WXUSINGDLL"
|
||||
"GD_EXTENSION_API=/* Macro used to export classes on Windows, please ignore */"
|
||||
],
|
||||
"intelliSenseMode": "msvc-x64",
|
||||
"browse": {
|
||||
|
@@ -15,14 +15,6 @@ set(GDCORE_lib_dir ${GD_base_dir}/Binaries/Output/${CMAKE_BUILD_TYPE}_${CMAKE_SY
|
||||
#Dependencies on external libraries:
|
||||
###
|
||||
include_directories(${sfml_include_dir})
|
||||
IF(WIN32) #Special case for wxWidgets on Windows
|
||||
include_directories(${wxwidgets_include_dir})
|
||||
ELSEIF (NOT EMSCRIPTEN AND NOT NO_GUI)
|
||||
find_package(wxWidgets COMPONENTS core base adv net ribbon stc aui propgrid richtext html xrc REQUIRED)
|
||||
include( "${wxWidgets_USE_FILE}" )
|
||||
include_directories(${GTK_INCLUDE_DIRS})
|
||||
link_directories(${GTK_LIBRARY_DIRS})
|
||||
ENDIF(WIN32)
|
||||
|
||||
#Defines
|
||||
###
|
||||
@@ -30,14 +22,8 @@ add_definitions( -DGD_IDE_ONLY )
|
||||
IF (EMSCRIPTEN)
|
||||
add_definitions( -DEMSCRIPTEN )
|
||||
ENDIF()
|
||||
IF (NO_GUI)
|
||||
add_definitions( -DGD_NO_WX_GUI )
|
||||
ENDIF()
|
||||
IF(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
add_definitions( -DDEBUG )
|
||||
IF(WIN32)
|
||||
add_definitions( -D__WXDEBUG__ )
|
||||
ENDIF(WIN32)
|
||||
ELSE()
|
||||
add_definitions( -DRELEASE )
|
||||
ENDIF()
|
||||
@@ -45,11 +31,7 @@ ENDIF()
|
||||
IF(WIN32)
|
||||
add_definitions( -DWINDOWS )
|
||||
add_definitions( "-DGD_CORE_API=__declspec(dllexport)" )
|
||||
|
||||
add_definitions( -D__GNUWIN32__ )
|
||||
add_definitions( -D__WXMSW__ )
|
||||
add_definitions( -DwxUSE_UNICODE=1 )
|
||||
add_definitions( -DWXUSINGDLL )
|
||||
ELSE()
|
||||
IF(APPLE)
|
||||
add_definitions( -DMACOS )
|
||||
@@ -58,9 +40,6 @@ ELSE()
|
||||
ENDIF()
|
||||
add_definitions( -DGD_API= )
|
||||
add_definitions( -DGD_CORE_API= )
|
||||
IF (NOT NO_GUI)
|
||||
add_definitions(${GTK_CFLAGS_OTHER})
|
||||
ENDIF()
|
||||
ENDIF(WIN32)
|
||||
|
||||
#The target
|
||||
@@ -68,10 +47,6 @@ ENDIF(WIN32)
|
||||
include_directories(.)
|
||||
file(GLOB_RECURSE source_files GDCore/*)
|
||||
|
||||
IF(NO_GUI)
|
||||
list(REMOVE_ITEM source_files "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs.h" "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs_dialogs_bitmaps.cpp")
|
||||
ENDIF()
|
||||
|
||||
file(GLOB_RECURSE formatted_source_files tests/* GDCore/Events/* GDCore/Extensions/* GDCore/IDE/* GDCore/Project/* GDCore/Serialization/* GDCore/Tools/*)
|
||||
list(REMOVE_ITEM formatted_source_files "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs.h" "${CMAKE_CURRENT_SOURCE_DIR}/GDCore/IDE/Dialogs/GDCoreDialogs_dialogs_bitmaps.cpp")
|
||||
gd_add_clang_utils(GDCore "${formatted_source_files}")
|
||||
@@ -95,8 +70,6 @@ IF(EMSCRIPTEN)
|
||||
#Nothing.
|
||||
ELSE()
|
||||
target_link_libraries(GDCore ${sfml_LIBRARIES})
|
||||
target_link_libraries(GDCore ${wxWidgets_LIBRARIES})
|
||||
target_link_libraries(GDCore ${GTK_LIBRARIES})
|
||||
ENDIF()
|
||||
|
||||
#Tests
|
||||
@@ -112,6 +85,4 @@ if(BUILD_TESTS)
|
||||
set_target_properties(GDCore_tests PROPERTIES BUILD_WITH_INSTALL_RPATH FALSE) #Allow finding dependencies directly from build path on Mac OS X.
|
||||
target_link_libraries(GDCore_tests GDCore)
|
||||
target_link_libraries(GDCore_tests ${sfml_LIBRARIES})
|
||||
target_link_libraries(GDCore_tests ${wxWidgets_LIBRARIES})
|
||||
target_link_libraries(GDCore_tests ${GTK_LIBRARIES})
|
||||
endif()
|
||||
|
@@ -21,8 +21,6 @@
|
||||
#define GD_DEPRECATED
|
||||
#endif
|
||||
|
||||
class wxString;
|
||||
|
||||
namespace gd
|
||||
{
|
||||
|
||||
|
@@ -78,7 +78,6 @@
|
||||
* The installation is fairly simple :<br>
|
||||
* <br>
|
||||
* - Launch the installer.<br>
|
||||
* - Uncheck "Check for updated files on the TDM-GCC server" (otherwise you won't get TDM-GCC 4.9.2 but a more recent version that won't be compatible with wxWidgets pre-compiled binaries)
|
||||
* - Choose Create.<br>
|
||||
|
||||
\image html compilerInstall1.png
|
||||
@@ -157,9 +156,6 @@
|
||||
* Binaries are created into *Binaries/Output/Release_{OS}* folder.
|
||||
*
|
||||
* To launch GDevelop in Windows, double click on **GDIDE**. For Linux, launch **StartGDevelop.sh**.
|
||||
*
|
||||
* If the build failed, check that you've properly installed wxWidgets and that you have installed any required
|
||||
* development library.
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -192,18 +188,6 @@ sudo apt-get install curl
|
||||
sudo apt-get install devscripts
|
||||
\endcode
|
||||
*
|
||||
* \subsection wxWidgets Install wxWidgets development libraries
|
||||
*
|
||||
* Most distributions have wxWidgets 3 development libraries available: install them using your package manager. On Ubuntu:
|
||||
\code
|
||||
sudo apt-get install libwxgtk3.0-dev
|
||||
\endcode
|
||||
|
||||
You should also have GTK+ development libraries installed. For GTK+2:
|
||||
\code
|
||||
sudo apt-get install libgtk2.0-dev
|
||||
\endcode
|
||||
|
||||
*
|
||||
* \subsection installcmake Install CMake
|
||||
* You'll need CMake to build GDevelop: See more on \subpage installAndUseCMake.
|
||||
@@ -222,7 +206,6 @@ sudo apt-get install libgtk2.0-dev
|
||||
brew install cmake
|
||||
brew install p7zip
|
||||
brew install pkgconfig
|
||||
brew install wxwidgets
|
||||
brew install freetype
|
||||
\endcode
|
||||
* If you want to generate the documentation and translations, install Doxygen and Gettext:
|
||||
@@ -248,44 +231,6 @@ make -j4
|
||||
/**
|
||||
* \page recommendedToolsAndConventions Recommended tools and advices to work with GD
|
||||
*
|
||||
* \section texteditor Text editor
|
||||
*
|
||||
* GDevelop is compiled thanks to CMake which can generate *Makefiles* or a project file for most popular IDE available.<br>
|
||||
*
|
||||
* [Sublime Text](http://www.sublimetext.com/) is a very nice text editor for programmers:
|
||||
* *"You'll love the slick user interface, extraordinary features and amazing performance."*. <br>
|
||||
* It has nice features like shortcut to search for a file at an amazing speed (just type a few letters of the file name you're searching for),
|
||||
* multiple selection, plugins for better C++ and Javascript support.
|
||||
*
|
||||
* Take a look at it if you're unsure about which IDE to use. If you're more familiar with another IDE,
|
||||
* ask CMake to generate a project file for it.
|
||||
*
|
||||
* ------
|
||||
*
|
||||
* \section designers Visual designers for IDE or GDCore dialogs
|
||||
*
|
||||
* \subsection newDesigner "New" dialogs created with wxCrafter
|
||||
*
|
||||
* New dialogs are designed using [wxCrafter](http://wxcrafter.codelite.org/). Download and launch it.
|
||||
*
|
||||
* All dialogs of GDCore, GDCpp, GDJS or the IDE created using wxCrafter are stored into a single .wxcp file in
|
||||
* the wxsmith folder, next to files of dialogs created with wxSmith.<br>
|
||||
* For example, open *GDJS/wxsmith/GDJS.wxcp*.
|
||||
*
|
||||
* You can edit and add new dialogs. Do not forget to click on "Generate code" if you made any change.
|
||||
*
|
||||
* wxCrafter creates base classes for dialog (their names start by *Base*), and any code must be inserted into
|
||||
* a derived class. See examples in *GDJS*.
|
||||
*
|
||||
* \subsection oldDesigner "Old" dialogs created with wxSmith
|
||||
* If you want to edit a dialog, first search if there is a file called *filename*.wxs in the folder *wxsmith* (in GDCore,
|
||||
* GDCpp or IDE). If it is present, the dialog was made using the wxSmith visual designer integrated into the Code::Blocks IDE:
|
||||
* - Download [Code::Blocks](http://www.codeblocks.org/) and launch it.
|
||||
* - Open the .cbp in GDCore, GDCpp or IDE folder.
|
||||
* - In the tab "Resources", locate the dialog to edit.
|
||||
*
|
||||
* ------
|
||||
*
|
||||
* \section git Git and GitHub
|
||||
*
|
||||
* Git is an amazing *version control system*. If you never used it before, take a look at some tutorials, there
|
||||
@@ -413,8 +358,6 @@ double twopointfive = twopointfive.To<double>();
|
||||
//twopointfive == 2.5
|
||||
\endcode
|
||||
*
|
||||
* gd::String can also be implicitly constructed from a wxString or a sf::String, so that it is easy to use when you're dealing
|
||||
* with wxWidgets GUI dialogs/editors or SFML objects.
|
||||
*
|
||||
* For more information, see the complete reference of the class. Tests cases have also been made for most functions.
|
||||
*/
|
||||
|
@@ -24,8 +24,6 @@ class Platform;
|
||||
class SerializerElement;
|
||||
class Instruction;
|
||||
}
|
||||
class wxWindow;
|
||||
class wxDC;
|
||||
|
||||
namespace gd {
|
||||
|
||||
|
@@ -52,8 +52,7 @@ class GD_CORE_API InstructionSentenceFormatter {
|
||||
gd::String LabelFromType(const gd::String &type);
|
||||
|
||||
/**
|
||||
* \brief Load the configuration from the default configuration,
|
||||
* or saved configuration if one was saved with wxWidgets.
|
||||
* \brief Load the configuration from the default configuration.
|
||||
*/
|
||||
void LoadTypesFormattingFromConfig();
|
||||
|
||||
|
@@ -11,10 +11,6 @@
|
||||
#include "GDCore/Tools/DynamicLibrariesTools.h"
|
||||
#include "GDCore/Tools/Log.h"
|
||||
#include "GDCore/Tools/VersionPriv.h"
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#include <wx/filename.h>
|
||||
#include <wx/msgdlg.h>
|
||||
#endif
|
||||
|
||||
// Compiler specific include, for listing files of directory ( see below )
|
||||
#if defined(__GNUC__)
|
||||
@@ -64,23 +60,8 @@ void ExtensionsLoader::LoadAllExtensions(const gd::String &directory,
|
||||
lec.find(".xgd" + suffix, lec.length() - 4 - suffix.length()) !=
|
||||
string::npos &&
|
||||
lec.find("Automatism.xgd" + suffix) == string::npos) {
|
||||
// Use a log file, in IDE only
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
{
|
||||
wxFile errorDetectFile(
|
||||
wxFileName::GetTempDir() + "/ExtensionBeingLoaded.log",
|
||||
wxFile::write);
|
||||
errorDetectFile.Write(directory + "/" + lec);
|
||||
}
|
||||
#endif
|
||||
|
||||
LoadExtension(directory + "/" + lec, platform, forgiving);
|
||||
|
||||
// Everything is ok : Delete the log file
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
wxRemoveFile(wxFileName::GetTempDir() + "/ExtensionBeingLoaded.log");
|
||||
#endif
|
||||
|
||||
librariesLoaded.push_back(directory + "/" + lec);
|
||||
|
||||
l++;
|
||||
@@ -96,23 +77,7 @@ void ExtensionsLoader::LoadAllExtensions(const gd::String &directory,
|
||||
HANDLE h = FindFirstFile(dirComplete.c_str(), &f);
|
||||
if (h != INVALID_HANDLE_VALUE) {
|
||||
do {
|
||||
// Use a log file, in IDE only
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
{
|
||||
wxFile errorDetectFile(
|
||||
wxFileName::GetTempDir() + "/ExtensionBeingLoaded.log",
|
||||
wxFile::write);
|
||||
errorDetectFile.Write(f.cFileName);
|
||||
}
|
||||
#endif
|
||||
|
||||
LoadExtension(f.cFileName, platform, forgiving);
|
||||
|
||||
// Everything is ok : Delete the log file
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
wxRemoveFile(wxFileName::GetTempDir() + "/ExtensionBeingLoaded.log");
|
||||
#endif
|
||||
|
||||
} while (FindNextFile(h, &f));
|
||||
}
|
||||
#else
|
||||
@@ -189,15 +154,6 @@ void ExtensionsLoader::LoadExtension(const gd::String &fullpath,
|
||||
|
||||
cout << "Unable to load extension " << fullpath << "." << endl;
|
||||
cout << "Error returned : \"" << error << "\"" << endl;
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
wxString userMsg = _("Extension ") + fullpath +
|
||||
_(" could not be loaded.\nContact the developer for "
|
||||
"more informations.\n\nDetailed log:\n") +
|
||||
error;
|
||||
wxMessageBox(
|
||||
userMsg, _("Extension not compatible"), wxOK | wxICON_EXCLAMATION);
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -208,13 +164,6 @@ void ExtensionsLoader::LoadExtension(const gd::String &fullpath,
|
||||
if (!forgiving) {
|
||||
cout << "Unable to load extension " << fullpath
|
||||
<< " (Creation function symbol not found)." << endl;
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
wxString userMsg = _("Extension ") + fullpath +
|
||||
_(" could not be loaded.\nContact the developer for "
|
||||
"more informations.");
|
||||
wxMessageBox(
|
||||
userMsg, _("Extension not compatible"), wxOK | wxICON_EXCLAMATION);
|
||||
#endif
|
||||
}
|
||||
|
||||
CloseLibrary(extensionHdl);
|
||||
@@ -231,18 +180,6 @@ void ExtensionsLoader::LoadExtension(const gd::String &fullpath,
|
||||
#if defined(GD_IDE_ONLY)
|
||||
else if (extensionPtr->compilationInfo.runtimeOnly)
|
||||
error += "Extension compiled for runtime only.\n";
|
||||
|
||||
#if !defined(GD_NO_WX_GUI)
|
||||
else if (extensionPtr->compilationInfo.wxWidgetsMajorVersion !=
|
||||
wxMAJOR_VERSION ||
|
||||
extensionPtr->compilationInfo.wxWidgetsMinorVersion !=
|
||||
wxMINOR_VERSION ||
|
||||
extensionPtr->compilationInfo.wxWidgetsReleaseNumber !=
|
||||
wxRELEASE_NUMBER ||
|
||||
extensionPtr->compilationInfo.wxWidgetsSubReleaseNumber !=
|
||||
wxSUBRELEASE_NUMBER)
|
||||
error += "Not the same wxWidgets version.\n";
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__GNUC__)
|
||||
else if (extensionPtr->compilationInfo.gccMajorVersion != __GNUC__ ||
|
||||
@@ -272,23 +209,10 @@ void ExtensionsLoader::LoadExtension(const gd::String &fullpath,
|
||||
cout << "---------------" << endl;
|
||||
|
||||
#if defined(RELEASE) // Load extension despite errors in non release build
|
||||
|
||||
// Destroy the extension class THEN unload the library from memory
|
||||
delete extensionPtr;
|
||||
CloseLibrary(extensionHdl);
|
||||
#endif
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI) && \
|
||||
defined(RELEASE) // Show errors in IDE only
|
||||
wxString userMsg = _("Extension ") + fullpath + _(" has errors :\n") +
|
||||
error +
|
||||
_("\nThe extension was not loaded. Contact the "
|
||||
"developer to get more information.");
|
||||
wxMessageBox(
|
||||
userMsg, _("Extension not compatible"), wxOK | wxICON_EXCLAMATION);
|
||||
#endif
|
||||
|
||||
#if defined(RELEASE) // Load extension despite errors in non release build
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
@@ -11,15 +11,9 @@
|
||||
#include "GDCore/String.h"
|
||||
namespace gd {
|
||||
class PropertyDescriptor;
|
||||
}
|
||||
namespace gd {
|
||||
class Project;
|
||||
}
|
||||
namespace gd {
|
||||
class Layout;
|
||||
}
|
||||
class wxPropertyGrid;
|
||||
class wxPropertyGridEvent;
|
||||
|
||||
namespace gd {
|
||||
|
||||
|
@@ -9,8 +9,6 @@
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
#include "GDCore/String.h"
|
||||
class wxPropertyGrid;
|
||||
class wxPropertyGridEvent;
|
||||
#include "GDCore/Project/ChangesNotifier.h"
|
||||
#include "GDCore/Project/LoadingScreen.h"
|
||||
#include "GDCore/Project/ObjectGroupsContainer.h"
|
||||
|
@@ -14,8 +14,6 @@ class ResourceFolder;
|
||||
class SerializerElement;
|
||||
class PropertyDescriptor;
|
||||
}
|
||||
class wxPaintDC;
|
||||
class wxPanel;
|
||||
|
||||
namespace gd {
|
||||
|
||||
|
@@ -10,11 +10,6 @@
|
||||
#include "GDCore/CommonTools.h"
|
||||
#include "GDCore/Utf8/utf8proc.h"
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#include <wx/string.h>
|
||||
#include <wx/variant.h>
|
||||
#endif
|
||||
|
||||
namespace gd
|
||||
{
|
||||
|
||||
@@ -40,15 +35,6 @@ String::String(const std::u32string &string) : m_string()
|
||||
*this = string;
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String::String(const wxString &string) : m_string()
|
||||
{
|
||||
*this = string;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
String& String::operator=(const char *characters)
|
||||
{
|
||||
m_string = std::string(characters);
|
||||
@@ -95,17 +81,6 @@ String& String::operator=(const std::u32string &string)
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String& String::operator=(const wxString &string)
|
||||
{
|
||||
m_string = std::string(string.ToUTF8().data());
|
||||
|
||||
return *this;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
String::size_type String::size() const
|
||||
{
|
||||
return std::distance(begin(), end());
|
||||
@@ -245,25 +220,6 @@ std::wstring String::ToWide() const
|
||||
return wstr;
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String String::FromWxString( const wxString &wxStr)
|
||||
{
|
||||
return String(wxStr);
|
||||
}
|
||||
|
||||
wxString String::ToWxString() const
|
||||
{
|
||||
return wxString::FromUTF8(m_string.c_str());
|
||||
}
|
||||
|
||||
String::operator wxString() const
|
||||
{
|
||||
return ToWxString();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool String::IsValid() const
|
||||
{
|
||||
return ::utf8::is_valid(m_string.begin(), m_string.end());
|
||||
@@ -304,16 +260,6 @@ String& String::operator+=( value_type character )
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String& String::operator+=( const wxString &other )
|
||||
{
|
||||
*this += gd::String(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void String::push_back( String::value_type character )
|
||||
{
|
||||
::utf8::unchecked::append(character, std::back_inserter(m_string));
|
||||
@@ -721,23 +667,6 @@ String GD_CORE_API operator+(const char *lhs, const String &rhs)
|
||||
return str;
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String GD_CORE_API operator+(String lhs, const wxString &rhs)
|
||||
{
|
||||
lhs += String::FromWxString(rhs);
|
||||
return lhs;
|
||||
}
|
||||
|
||||
String GD_CORE_API operator+(const wxString &lhs, const String &rhs)
|
||||
{
|
||||
String str(lhs);
|
||||
str += rhs;
|
||||
return str;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
bool GD_CORE_API operator==( const String &lhs, const String &rhs )
|
||||
{
|
||||
return (lhs.compare(rhs) == 0);
|
||||
@@ -753,18 +682,6 @@ bool GD_CORE_API operator==( const char *lhs, const gd::String &rhs )
|
||||
return (String(lhs) == rhs);
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
bool GD_CORE_API operator==( const String &lhs, const wxString &rhs)
|
||||
{
|
||||
return (lhs == String(rhs));
|
||||
}
|
||||
|
||||
bool GD_CORE_API operator==( const wxString &lhs, const String &rhs)
|
||||
{
|
||||
return (String(lhs) == rhs);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool GD_CORE_API operator!=( const String &lhs, const String &rhs )
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
@@ -780,18 +697,6 @@ bool GD_CORE_API operator!=( const char *lhs, const String &rhs )
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
bool GD_CORE_API operator!=( const String &lhs, const wxString &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
bool GD_CORE_API operator!=( const wxString &lhs, const String &rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
#endif
|
||||
|
||||
bool GD_CORE_API operator<( const String &lhs, const String &rhs )
|
||||
{
|
||||
return (lhs.compare(rhs) < 0);
|
||||
|
@@ -18,10 +18,6 @@
|
||||
#include "GDCore/Utf8/utf8.h"
|
||||
|
||||
namespace sf {class String;};
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
class wxString;
|
||||
class wxVariant;
|
||||
#endif
|
||||
|
||||
namespace gd
|
||||
{
|
||||
@@ -130,15 +126,6 @@ public:
|
||||
*/
|
||||
String(const sf::String &string);
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
/**
|
||||
* Constructs a string from a wxString.
|
||||
*/
|
||||
String(const wxString &string);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \}
|
||||
*/
|
||||
@@ -163,12 +150,6 @@ public:
|
||||
|
||||
String& operator=(const std::u32string &string);
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String& operator=(const wxString &string);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \}
|
||||
*/
|
||||
@@ -247,9 +228,6 @@ public:
|
||||
{
|
||||
static_assert(!std::is_same<T, std::string>::value, "Can't use gd::String::From with std::string.");
|
||||
static_assert(!std::is_same<T, sf::String>::value, "Can't use gd::String::From with sf::String.");
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
static_assert(!std::is_same<T, wxString>::value, "Can't use gd::String::From with wxString.");
|
||||
#endif
|
||||
|
||||
std::ostringstream oss;
|
||||
oss << value;
|
||||
@@ -265,9 +243,6 @@ public:
|
||||
{
|
||||
static_assert(!std::is_same<T, std::string>::value, "Can't use gd::String::To with std::string.");
|
||||
static_assert(!std::is_same<T, sf::String>::value, "Can't use gd::String::To with sf::String.");
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
static_assert(!std::is_same<T, wxString>::value, "Can't use gd::String::To with wxString.");
|
||||
#endif
|
||||
|
||||
T value;
|
||||
std::istringstream oss(m_string);
|
||||
@@ -314,17 +289,6 @@ public:
|
||||
*/
|
||||
static String FromWide( const std::wstring &wstr );
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
/**
|
||||
* \return a String created from a wxString.
|
||||
*
|
||||
* See \ref Conversions1 for more information.
|
||||
*/
|
||||
static String FromWxString( const wxString &wxStr);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \}
|
||||
*/
|
||||
@@ -371,24 +335,6 @@ public:
|
||||
*/
|
||||
std::wstring ToWide() const;
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
/**
|
||||
* \return a wxString from the current string.
|
||||
*
|
||||
* See \ref Conversions1 for more information.
|
||||
*/
|
||||
wxString ToWxString() const;
|
||||
|
||||
/**
|
||||
* Implicit conversion operator to wxString.
|
||||
*
|
||||
* See \ref Conversions1 for more information.
|
||||
*/
|
||||
operator wxString() const;
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \}
|
||||
*/
|
||||
@@ -456,12 +402,6 @@ public:
|
||||
|
||||
String& operator+=( value_type character );
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
String& operator+=( const wxString &other );
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Add a character (from its codepoint) at the end of the String.
|
||||
*
|
||||
@@ -722,24 +662,6 @@ String GD_CORE_API operator+(String lhs, const char *rhs);
|
||||
*/
|
||||
String GD_CORE_API operator+(const char *lhs, const String &rhs);
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
|
||||
/**
|
||||
* \relates String
|
||||
* \return a String containing the concatenation of lhs and rhs (rhs is
|
||||
* converted to String).
|
||||
*/
|
||||
String GD_CORE_API operator+(String lhs, const wxString &rhs);
|
||||
|
||||
/**
|
||||
* \relates String
|
||||
* \return a String containing the concatenation of lhs and rhs (rhs is
|
||||
* converted to String).
|
||||
*/
|
||||
String GD_CORE_API operator+(const wxString &lhs, const String &rhs);
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \}
|
||||
*/
|
||||
@@ -755,12 +677,6 @@ bool GD_CORE_API operator==( const String &lhs, const String &rhs );
|
||||
bool GD_CORE_API operator==( const String &lhs, const char *rhs );
|
||||
///\relates String
|
||||
bool GD_CORE_API operator==( const char *lhs, const String &rhs );
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
///\relates String
|
||||
bool GD_CORE_API operator==( const String &lhs, const wxString &rhs);
|
||||
///\relates String
|
||||
bool GD_CORE_API operator==( const wxString &lhs, const String &rhs);
|
||||
#endif
|
||||
|
||||
///\relates String
|
||||
bool GD_CORE_API operator!=( const String &lhs, const String &rhs );
|
||||
@@ -769,13 +685,6 @@ bool GD_CORE_API operator!=( const String &lhs, const char *rhs );
|
||||
///\relates String
|
||||
bool GD_CORE_API operator!=( const char *lhs, const String &rhs );
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
///\relates String
|
||||
bool GD_CORE_API operator!=( const String &lhs, const wxString &rhs);
|
||||
///\relates String
|
||||
bool GD_CORE_API operator!=( const wxString &lhs, const String &rhs);
|
||||
#endif
|
||||
|
||||
///\relates String
|
||||
bool GD_CORE_API operator<( const String &lhs, const String &rhs );
|
||||
///\relates String
|
||||
@@ -906,7 +815,7 @@ namespace std
|
||||
* on the string size and so is the operator[]().
|
||||
*
|
||||
* \section Conversion Conversions from/to other string types
|
||||
* The String handles implicit conversion with sf::String and wxString (implicit constructor and implicit conversion
|
||||
* The String handles implicit conversion with sf::String (implicit constructor and implicit conversion
|
||||
* operator).
|
||||
*
|
||||
* **However, this is not the case with std::string** as this conversion is not often lossless (mostly on Windows).
|
||||
@@ -915,19 +824,12 @@ namespace std
|
||||
* directly use the operator=() or the constructor as they are supporting const char* as argument (it assumes the string
|
||||
* literal is encoded in UTF8, so you'll need to put the u8 prefix).
|
||||
*
|
||||
* \subsection Conversions1 Implicit conversion from/to wxString and sf::String
|
||||
* \subsection Conversions1 Implicit conversion from/to sf::String
|
||||
* \code
|
||||
* //Get a String from sf::String
|
||||
* sf::String sfmlStr("This is a test ! ");
|
||||
* gd::String str1(sfmlStr); //Now contains "This is a test ! " encoded in UTF8
|
||||
*
|
||||
* //Get a String from wxString
|
||||
* wxString wxStr("Another test ! ");
|
||||
* str = wxStr; //Now contains "Another test ! " encoded in UTF8
|
||||
*
|
||||
* //Get a wxString from String
|
||||
* wxString anotherWxStr = str; //anotherWxStr contains "Another test ! " correctly encoded
|
||||
*
|
||||
* //Get a sf::String from String
|
||||
* sf::String anotherSfmlString = str; //anotherSfmlString now contains "Another test ! "
|
||||
* \endcode
|
||||
|
@@ -33,7 +33,7 @@ gd::String GetTranslation(const char* str);
|
||||
#define _(s) gd::GetTranslation(u8##s)
|
||||
|
||||
#else
|
||||
// When compiling without Emscripten or wxWidgets (typically for GDC++ Runtime),
|
||||
// When compiling without Emscripten (typically for GDC++ Runtime),
|
||||
// just return an untranslated gd::String.
|
||||
|
||||
// Create a new macro to return UTF8 gd::String from a translation
|
||||
|
@@ -28,4 +28,3 @@ External libraries used by GDevelop Core
|
||||
--------------------------------------------
|
||||
|
||||
* SFML is distributed under the zlib/png license
|
||||
* wxWidgets is distributed under wxWindows License (similar to GNU LGPL)
|
||||
|
@@ -49,46 +49,3 @@ IF(NOT EMSCRIPTEN) #Don't build SFML binaries when compiling with emscripten (bu
|
||||
set(sfml_LIBRARIES "${sfml_LIBRARIES}" PARENT_SCOPE)
|
||||
ENDIF()
|
||||
set(sfml_include_dir ${CMAKE_CURRENT_SOURCE_DIR}/SFML/include PARENT_SCOPE)
|
||||
|
||||
#wxWidgets:
|
||||
IF(NOT NO_GUI)
|
||||
IF(WIN32)
|
||||
#Precompiled wxWidgets on Windows:
|
||||
IF(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/wxwidgets")
|
||||
message( "Downloading precompiled version of wxWidgets... (can take a bit of time, be patient)" )
|
||||
execute_process(COMMAND curl -o wxwidgets.7z http://www.compilgames.net/code/GameDevelopSDK/wxwidgets.7z -\# WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ )
|
||||
message( "Extracting wxWidgets in ExtLibs/wxWidgets... (can take a bit of time, be patient)" )
|
||||
execute_process(COMMAND 7za x -y wxwidgets.7z WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ OUTPUT_QUIET)
|
||||
ENDIF()
|
||||
|
||||
set(wxwidgets_include_dir "${GD_base_dir}/ExtLibs/wxwidgets/include" "${GD_base_dir}/ExtLibs/wxwidgets/lib/gcc_dll/mswu" PARENT_SCOPE)
|
||||
set(wxwidgets_lib_dir "${GD_base_dir}/ExtLibs/wxwidgets/lib/gcc_dll")
|
||||
set(wxwidgets_lib_dir "${wxwidgets_lib_dir}" PARENT_SCOPE)
|
||||
set(wxWidgets_LIBRARIES ${wxwidgets_lib_dir}/libwxmsw30u_xrc.a ${wxwidgets_lib_dir}/libwxmsw30u_stc.a ${wxwidgets_lib_dir}/libwxmsw30u_richtext.a ${wxwidgets_lib_dir}/libwxmsw30u_propgrid.a ${wxwidgets_lib_dir}/libwxmsw30u_ribbon.a ${wxwidgets_lib_dir}/libwxmsw30u_aui.a ${wxwidgets_lib_dir}/libwxmsw30u_adv.a ${wxwidgets_lib_dir}/libwxmsw30u_html.a ${wxwidgets_lib_dir}/libwxmsw30u_core.a ${wxwidgets_lib_dir}/libwxbase30u_xml.a ${wxwidgets_lib_dir}/libwxbase30u_net.a ${wxwidgets_lib_dir}/libwxexpat.a ${wxwidgets_lib_dir}/libwxbase30u.a ${wxwidgets_lib_dir}/libwxpng.a ${wxwidgets_lib_dir}/libwxjpeg.a ${wxwidgets_lib_dir}/libwxzlib.a ${wxwidgets_lib_dir}/libwxtiff.a)
|
||||
set(wxWidgets_LIBRARIES ${wxWidgets_LIBRARIES} ws2_32 user32 opengl32 glu32)
|
||||
set(wxWidgets_LIBRARIES ${wxWidgets_LIBRARIES} PARENT_SCOPE)
|
||||
ELSE()
|
||||
#Use wx-config on *nix:
|
||||
find_package(wxWidgets REQUIRED)
|
||||
IF (NOT APPLE)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
EXEC_PROGRAM(${wxWidgets_CONFIG_EXECUTABLE} ARGS --query-toolkit OUTPUT_VARIABLE WXWIDGETS_GTK_VERSION)
|
||||
IF(${WXWIDGETS_GTK_VERSION} MATCHES "gtk2")
|
||||
pkg_check_modules(GTK2 REQUIRED gtk+-2.0)
|
||||
set(GTK_INCLUDE_DIRS "${GTK2_INCLUDE_DIRS}" PARENT_SCOPE)
|
||||
set(GTK_LIBRARY_DIRS "${GTK2_LIBRARY_DIRS}" PARENT_SCOPE)
|
||||
set(GTK_CFLAGS_OTHER "${GTK2_CFLAGS_OTHER}" PARENT_SCOPE)
|
||||
ELSEIF(${WXWIDGETS_GTK_VERSION} MATCHES "gtk3")
|
||||
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
|
||||
set(GTK_INCLUDE_DIRS "${GTK3_INCLUDE_DIRS}" PARENT_SCOPE)
|
||||
set(GTK_LIBRARY_DIRS "${GTK3_LIBRARY_DIRS}" PARENT_SCOPE)
|
||||
set(GTK_CFLAGS_OTHER "${GTK3_CFLAGS_OTHER}" PARENT_SCOPE)
|
||||
ELSE()
|
||||
message(WARNING "Unable to identify the GTK+ version used by wxWidgets")
|
||||
set(GTK_INCLUDE_DIRS "" PARENT_SCOPE)
|
||||
set(GTK_LIBRARY_DIRS "" PARENT_SCOPE)
|
||||
set(GTK_CFLAGS_OTHER "" PARENT_SCOPE)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
|
@@ -1,2 +1,2 @@
|
||||
Uncompress here the external libraries needed: SFML and wxWidgets.
|
||||
Uncompress here the external libraries needed: SFML.
|
||||
Refer to [the documentation](http://4ian.github.io/GD-Documentation/GDCore%20Documentation/setup_dev_env.html) for more information and to get the download links of the libraries.
|
@@ -3,12 +3,3 @@
|
||||
|
||||
#Dependencies packages
|
||||
sudo apt-get install libgtk-3-dev libwebkitgtk-3.0-dev cmake p7zip-full libopenal-dev libjpeg-dev libglew-dev libudev-dev libxrandr-dev libsndfile1-dev libglu1-mesa-dev libfreetype6-dev
|
||||
|
||||
#wxWidgets
|
||||
wget https://sourceforge.net/projects/wxwindows/files/3.0.2/wxWidgets-3.0.2.tar.bz2 -O wxWidgets.tar.bz2
|
||||
tar jxf wxWidgets.tar.bz2
|
||||
|
||||
cd wxWidgets-3.0.2
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
|
@@ -7,14 +7,6 @@ macro(gd_add_extension_includes)
|
||||
include_directories(${sfml_include_dir})
|
||||
include_directories(${GDCORE_include_dir})
|
||||
include_directories(${GDCpp_include_dir})
|
||||
IF(WIN32) #Special case for wxWidgets on Windows
|
||||
include_directories(${wxwidgets_include_dir})
|
||||
ELSEIF (NOT EMSCRIPTEN AND NOT NO_GUI)
|
||||
find_package(wxWidgets COMPONENTS core base adv net ribbon stc aui propgrid richtext html xrc REQUIRED)
|
||||
include( "${wxWidgets_USE_FILE}" )
|
||||
include_directories(${GTK_INCLUDE_DIRS})
|
||||
link_directories(${GTK_LIBRARY_DIRS})
|
||||
ENDIF(WIN32)
|
||||
endmacro()
|
||||
|
||||
#Add common defines for a target that will be a GD extension
|
||||
@@ -29,10 +21,6 @@ function(gd_add_extension_definitions target_name)
|
||||
|
||||
set(${target_name}_extra_definitions "${${target_name}_extra_definitions} GD_IDE_ONLY=1;" PARENT_SCOPE)
|
||||
|
||||
IF (NO_GUI) #Are we compiling without any GUI feature?
|
||||
add_definitions( -DGD_NO_WX_GUI )
|
||||
ENDIF()
|
||||
|
||||
#Defne used in GD to identify the environment
|
||||
IF (EMSCRIPTEN)
|
||||
add_definitions( -DEMSCRIPTEN )
|
||||
@@ -48,17 +36,12 @@ function(gd_add_extension_definitions target_name)
|
||||
add_definitions( "-DGD_CORE_API=__declspec(dllimport)" )
|
||||
add_definitions( "-DGD_API=__declspec(dllimport)" )
|
||||
add_definitions( "-DGD_EXTENSION_API=__declspec(dllexport)" )
|
||||
|
||||
add_definitions( -D__GNUWIN32__ ) #wxWidgets Windows specific defines
|
||||
add_definitions( -D__WXMSW__ )
|
||||
add_definitions( -DwxUSE_UNICODE=1 )
|
||||
add_definitions( -DWXUSINGDLL )
|
||||
add_definitions( -D__GNUWIN32__ )
|
||||
ELSE()
|
||||
|
||||
add_definitions( -DGD_API= )
|
||||
add_definitions( -DGD_CORE_API= )
|
||||
add_definitions( -DGD_EXTENSION_API= )
|
||||
add_definitions(${GTK_CFLAGS_OTHER})
|
||||
ENDIF(WIN32)
|
||||
endfunction()
|
||||
|
||||
@@ -121,8 +104,6 @@ function(gd_extension_link_libraries target_name)
|
||||
target_link_libraries(${target_name} GDCore)
|
||||
target_link_libraries(${target_name} GDCpp)
|
||||
target_link_libraries(${target_name} ${sfml_LIBRARIES})
|
||||
target_link_libraries(${target_name} ${wxWidgets_LIBRARIES}) #Add wxWidgets libraries if needed.
|
||||
target_link_libraries(${target_name} ${GTK_LIBRARIES}) #Add GTK libraries if needed (Linux only).
|
||||
ENDIF()
|
||||
endfunction()
|
||||
|
||||
|
@@ -1,582 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="DestroyOutsideBehavior" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../../Runtime/bin/debug/DestroyOutsideBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/DestroyOutsideBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-D__WXDEBUG__" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30ud_xrc" />
|
||||
<Add option="-lwxmsw30ud_richtext" />
|
||||
<Add option="-lwxmsw30ud_ribbon" />
|
||||
<Add option="-lwxmsw30ud_aui" />
|
||||
<Add option="-lwxmsw30ud_adv" />
|
||||
<Add option="-lwxmsw30ud_html" />
|
||||
<Add option="-lwxmsw30ud_core" />
|
||||
<Add option="-lwxbase30ud_xml" />
|
||||
<Add option="-lwxbase30ud_net" />
|
||||
<Add option="-lwxexpatd" />
|
||||
<Add option="-lwxbase30ud" />
|
||||
<Add option="-lwxpngd" />
|
||||
<Add option="-lwxjpegd" />
|
||||
<Add option="-lwxzlibd" />
|
||||
<Add option="-lwxtiffd" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../../Runtime/bin/release/DestroyOutsideBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/DestroyOutsideBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development">
|
||||
<Option output="../../Runtime/bin/dev/DestroyOutsideBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/dev" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development - Edittime">
|
||||
<Option output="../../IDE/bin/dev/CppPlatform/Extensions/DestroyOutsideBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/dev" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release">
|
||||
<Option output="../../Runtime/bin/release/DestroyOutsideBehavior.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/DestroyOutsideBehavior.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/DestroyOutsideBehavior.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug">
|
||||
<Option output="../../Runtime/bin/debug/DestroyOutsideBehavior.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Mac - Release">
|
||||
<Option output="../../Runtime/bin/release/DestroyOutsideBehavior" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/release/DestroyOutsideBehavior.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/release/DestroyOutsideBehavior.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
<Target title="Mac - Debug">
|
||||
<Option output="../../Runtime/bin/debug/DestroyOutsideBehavior" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-pg -g" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/debug/DestroyOutsideBehavior.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/debug/DestroyOutsideBehavior.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add directory="../../GDCpp" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../Core" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-debug/lib" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-release/lib" />
|
||||
</Linker>
|
||||
<Unit filename="DestroyOutsideBehavior.cpp" />
|
||||
<Unit filename="DestroyOutsideBehavior.h" />
|
||||
<Unit filename="Extension.cpp" />
|
||||
<Unit filename="JsExtension.cpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
<wxsmith version="1">
|
||||
<gui name="wxWidgets" src="" main="" init_handlers="necessary" language="CPP" />
|
||||
<resources>
|
||||
<wxDialog wxs="wxsmith/DestroyOutsideBehaviorEditor.wxs" src="DestroyOutsideBehaviorEditor.cpp" hdr="DestroyOutsideBehaviorEditor.h" fwddecl="0" i18n="1" name="DestroyOutsideBehaviorEditor" language="CPP" />
|
||||
</resources>
|
||||
</wxsmith>
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@@ -11,29 +11,12 @@ This project is released under the MIT License.
|
||||
#include "GDCpp/Runtime/Project/Object.h"
|
||||
#include "GDCpp/Runtime/RuntimeObject.h"
|
||||
class SFMLTextureWrapper;
|
||||
namespace gd {
|
||||
class ImageManager;
|
||||
}
|
||||
class RuntimeScene;
|
||||
namespace gd {
|
||||
class Object;
|
||||
}
|
||||
namespace gd {
|
||||
class ImageManager;
|
||||
}
|
||||
namespace gd {
|
||||
class InitialInstance;
|
||||
}
|
||||
#if defined(GD_IDE_ONLY)
|
||||
class wxBitmap;
|
||||
namespace gd {
|
||||
class Project;
|
||||
}
|
||||
class wxWindow;
|
||||
namespace gd {
|
||||
class MainFrameWrapper;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* PanelSprite Object
|
||||
|
@@ -1,667 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="PhysicsBehavior" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../../Runtime/bin/debug/PhysicsBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/PhysicsBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-D__WXDEBUG__" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30ud_xrc" />
|
||||
<Add option="-lwxmsw30ud_richtext" />
|
||||
<Add option="-lwxmsw30ud_ribbon" />
|
||||
<Add option="-lwxmsw30ud_aui" />
|
||||
<Add option="-lwxmsw30ud_adv" />
|
||||
<Add option="-lwxmsw30ud_html" />
|
||||
<Add option="-lwxmsw30ud_core" />
|
||||
<Add option="-lwxbase30ud_xml" />
|
||||
<Add option="-lwxbase30ud_net" />
|
||||
<Add option="-lwxexpatd" />
|
||||
<Add option="-lwxbase30ud" />
|
||||
<Add option="-lwxpngd" />
|
||||
<Add option="-lwxjpegd" />
|
||||
<Add option="-lwxzlibd" />
|
||||
<Add option="-lwxtiffd" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../../Runtime/bin/release/PhysicsBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/PhysicsBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development">
|
||||
<Option output="../../Runtime/bin/dev/PhysicsBehavior.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/dev" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development - Edittime">
|
||||
<Option output="../../IDE/bin/dev/CppPlatform/Extensions/PhysicsBehavior.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/dev" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release">
|
||||
<Option output="../../Runtime/bin/release/PhysicsBehavior.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/PhysicsBehavior.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/PhysicsBehavior.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug">
|
||||
<Option output="../../Runtime/bin/debug/PhysicsBehavior.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Mac - Release">
|
||||
<Option output="../../Runtime/bin/release/PhysicsBehavior.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/release/PhysicsBehavior.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/release/PhysicsBehavior.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
<Target title="Mac - Debug">
|
||||
<Option output="../../Runtime/bin/debug/PhysicsBehavior.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-pg -g" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/debug/PhysicsBehavior.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/debug/PhysicsBehavior.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add directory="../../Core" />
|
||||
<Add directory="../../GDCpp" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="Box2D/Box2D" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-debug/lib" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-release/lib" />
|
||||
</Linker>
|
||||
<Unit filename="Box2D/Box2D/Box2D/Box2D.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/Shapes/b2CircleShape.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/Shapes/b2PolygonShape.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/Shapes/b2Shape.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2BroadPhase.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2BroadPhase.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2CollideCircle.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2CollidePolygon.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2Collision.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2Collision.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2Distance.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2Distance.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2DynamicTree.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2DynamicTree.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2TimeOfImpact.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Collision/b2TimeOfImpact.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2BlockAllocator.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2BlockAllocator.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2Math.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2Math.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2Settings.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2Settings.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2StackAllocator.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Common/b2StackAllocator.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2CircleContact.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2CircleContact.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2Contact.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2Contact.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2ContactSolver.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2ContactSolver.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2PolygonAndCircleContact.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2PolygonContact.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2PolygonContact.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2TOISolver.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Contacts/b2TOISolver.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2DistanceJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2DistanceJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2FrictionJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2FrictionJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2GearJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2GearJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2Joint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2Joint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2LineJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2LineJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2MouseJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2MouseJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2PrismaticJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2PrismaticJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2PulleyJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2PulleyJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2RevoluteJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2RevoluteJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2WeldJoint.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/Joints/b2WeldJoint.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Body.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Body.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2ContactManager.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2ContactManager.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Fixture.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Fixture.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Island.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2Island.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2TimeStep.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2World.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2World.h" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2WorldCallbacks.cpp" />
|
||||
<Unit filename="Box2D/Box2D/Box2D/Dynamics/b2WorldCallbacks.h" />
|
||||
<Unit filename="ContactListener.cpp" />
|
||||
<Unit filename="ContactListener.h" />
|
||||
<Unit filename="CustomPolygonDialog.cpp" />
|
||||
<Unit filename="CustomPolygonDialog.h" />
|
||||
<Unit filename="Extension.cpp" />
|
||||
<Unit filename="JsExtension.cpp" />
|
||||
<Unit filename="PhysicsBehavior.cpp" />
|
||||
<Unit filename="PhysicsBehavior.h" />
|
||||
<Unit filename="PhysicsBehaviorEditor.cpp" />
|
||||
<Unit filename="PhysicsBehaviorEditor.h" />
|
||||
<Unit filename="RuntimeScenePhysicsDatas.cpp" />
|
||||
<Unit filename="RuntimeScenePhysicsDatas.h" />
|
||||
<Unit filename="ScenePhysicsDatas.cpp" />
|
||||
<Unit filename="ScenePhysicsDatas.h" />
|
||||
<Unit filename="Triangulation/triangulate.cpp" />
|
||||
<Unit filename="Triangulation/triangulate.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
<wxsmith version="1">
|
||||
<gui name="wxWidgets" src="" main="" init_handlers="necessary" language="CPP" />
|
||||
<resources>
|
||||
<wxDialog wxs="wxsmith/PhysicsBehaviorEditor.wxs" src="PhysicsBehaviorEditor.cpp" hdr="PhysicsBehaviorEditor.h" fwddecl="0" i18n="1" name="PhysicsBehaviorEditor" language="CPP" />
|
||||
<wxDialog wxs="wxsmith/CustomPolygonDialog.wxs" src="CustomPolygonDialog.cpp" hdr="CustomPolygonDialog.h" fwddecl="0" i18n="1" name="CustomPolygonDialog" language="CPP" />
|
||||
</resources>
|
||||
</wxsmith>
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@@ -1,594 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="PrimitiveDrawing" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../../Runtime/bin/debug/PrimitiveDrawing.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/PrimitiveDrawing.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-D__WXDEBUG__" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30ud_xrc" />
|
||||
<Add option="-lwxmsw30ud_richtext" />
|
||||
<Add option="-lwxmsw30ud_ribbon" />
|
||||
<Add option="-lwxmsw30ud_aui" />
|
||||
<Add option="-lwxmsw30ud_adv" />
|
||||
<Add option="-lwxmsw30ud_html" />
|
||||
<Add option="-lwxmsw30ud_core" />
|
||||
<Add option="-lwxbase30ud_xml" />
|
||||
<Add option="-lwxbase30ud_net" />
|
||||
<Add option="-lwxexpatd" />
|
||||
<Add option="-lwxbase30ud" />
|
||||
<Add option="-lwxpngd" />
|
||||
<Add option="-lwxjpegd" />
|
||||
<Add option="-lwxzlibd" />
|
||||
<Add option="-lwxtiffd" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../../Runtime/bin/release/PrimitiveDrawing.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/PrimitiveDrawing.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development">
|
||||
<Option output="../../Runtime/bin/dev/PrimitiveDrawing.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/dev" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development - Edittime">
|
||||
<Option output="../../IDE/bin/dev/CppPlatform/Extensions/PrimitiveDrawing.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/dev" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release">
|
||||
<Option output="../../Runtime/bin/release/PrimitiveDrawing.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/PrimitiveDrawing.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/PrimitiveDrawing.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug">
|
||||
<Option output="../../Runtime/bin/debug/PrimitiveDrawing.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Mac - Release">
|
||||
<Option output="../../Runtime/bin/release/PrimitiveDrawing.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/release/PrimitiveDrawing.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/release/PrimitiveDrawing.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
<Target title="Mac - Debug">
|
||||
<Option output="../../Runtime/bin/debug/PrimitiveDrawing.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-pg -g" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/debug/PrimitiveDrawing.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/debug/PrimitiveDrawing.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add directory="../../Core" />
|
||||
<Add directory="../../GDCpp" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-debug/lib" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-release/lib" />
|
||||
</Linker>
|
||||
<Unit filename="ShapePainterObject.cpp" />
|
||||
<Unit filename="ShapePainterObject.h" />
|
||||
<Unit filename="ShapePainterObjectEditor.cpp" />
|
||||
<Unit filename="ShapePainterObjectEditor.h" />
|
||||
<Unit filename="Extension.cpp" />
|
||||
<Unit filename="PrimitiveDrawingTools.cpp" />
|
||||
<Unit filename="PrimitiveDrawingTools.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
<wxsmith version="1">
|
||||
<resources>
|
||||
<wxDialog wxs="wxsmith/ShapePainterObjectEditor.wxs" src="ShapePainterObjectEditor.cpp" hdr="ShapePainterObjectEditor.h" fwddecl="0" i18n="1" name="ShapePainterObjectEditor" language="CPP" />
|
||||
</resources>
|
||||
</wxsmith>
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@@ -1,593 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="TextObject" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="../../Runtime/bin/debug/TextObject.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/TextObject.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-D__WXDEBUG__" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30ud_xrc" />
|
||||
<Add option="-lwxmsw30ud_richtext" />
|
||||
<Add option="-lwxmsw30ud_ribbon" />
|
||||
<Add option="-lwxmsw30ud_aui" />
|
||||
<Add option="-lwxmsw30ud_adv" />
|
||||
<Add option="-lwxmsw30ud_html" />
|
||||
<Add option="-lwxmsw30ud_core" />
|
||||
<Add option="-lwxbase30ud_xml" />
|
||||
<Add option="-lwxbase30ud_net" />
|
||||
<Add option="-lwxexpatd" />
|
||||
<Add option="-lwxbase30ud" />
|
||||
<Add option="-lwxpngd" />
|
||||
<Add option="-lwxjpegd" />
|
||||
<Add option="-lwxzlibd" />
|
||||
<Add option="-lwxtiffd" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-network-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswud" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="../../Runtime/bin/release/TextObject.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/TextObject.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development">
|
||||
<Option output="../../Runtime/bin/dev/TextObject.xgdw" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../Runtime/bin/dev" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Development - Edittime">
|
||||
<Option output="../../IDE/bin/dev/CppPlatform/Extensions/TextObject.xgdwe" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Dev Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-m32" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option="-DGD_CORE_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_API=__declspec(dllimport)" />
|
||||
<Add option="-DGD_EXTENSION_API=__declspec(dllexport)" />
|
||||
<Add option="-DDEV" />
|
||||
<Add option="-DWINDOWS" />
|
||||
<Add option="-DPYSUPPORT" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DwxUSE_UNICODE=1" />
|
||||
<Add option="-DWXUSINGDLL" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lwxmsw30u_xrc" />
|
||||
<Add option="-lwxmsw30u_richtext" />
|
||||
<Add option="-lwxmsw30u_ribbon" />
|
||||
<Add option="-lwxmsw30u_aui" />
|
||||
<Add option="-lwxmsw30u_adv" />
|
||||
<Add option="-lwxmsw30u_html" />
|
||||
<Add option="-lwxmsw30u_core" />
|
||||
<Add option="-lwxbase30u_xml" />
|
||||
<Add option="-lwxbase30u_net" />
|
||||
<Add option="-lwxexpat" />
|
||||
<Add option="-lwxbase30u" />
|
||||
<Add option="-lwxpng" />
|
||||
<Add option="-lwxjpeg" />
|
||||
<Add option="-lwxzlib" />
|
||||
<Add option="-lwxtiff" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-network" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lkernel32" />
|
||||
<Add option="-luser32" />
|
||||
<Add option="-lopengl32" />
|
||||
<Add option="-limm32" />
|
||||
<Add option="-lcomctl32" />
|
||||
<Add option="-lglu32" />
|
||||
<Add option="-lws2_32" />
|
||||
<Add option="-lgdi32" />
|
||||
<Add option="-lwinmm" />
|
||||
<Add option="-luuid" />
|
||||
<Add option="-lshell32" />
|
||||
<Add option="-lole32" />
|
||||
<Add option="-lwinspool" />
|
||||
<Add option="-ladvapi32" />
|
||||
<Add option="-lcomdlg32" />
|
||||
<Add option="-loleaut32" />
|
||||
<Add library="opengl32" />
|
||||
<Add library="glu32" />
|
||||
<Add directory="../../IDE/bin/dev" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/mswu" />
|
||||
<Add directory="../../ExtLibs/wxwidgets/lib/gcc_dll/" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release">
|
||||
<Option output="../../Runtime/bin/release/TextObject.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Release - Edittime">
|
||||
<Option output="../../IDE/bin/release/CppPlatform/Extensions/TextObject.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug - Edittime">
|
||||
<Option output="../../IDE/bin/debug/CppPlatform/Extensions/TextObject.xgdle" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug Edittime/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option="`wx-config --cppflags`" />
|
||||
<Add option="`pkg-config gtk+-2.0 --cflags`" />
|
||||
<Add option="-DGD_IDE_ONLY" />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lGDCore" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="`wx-config --libs all`" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../IDE/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Linux - Debug">
|
||||
<Option output="../../Runtime/bin/debug/TextObject.xgdl" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DLINUX" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-lsndfile" />
|
||||
<Add option="-lopenal" />
|
||||
<Add option="-lfreetype" />
|
||||
<Add option="-lX11" />
|
||||
<Add option="-lXrandr" />
|
||||
<Add option="-lXrender" />
|
||||
<Add option="-lFLAC" />
|
||||
<Add option="-lGL" />
|
||||
<Add option="-lpthread" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-linux/lib" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Mac - Release">
|
||||
<Option output="../../Runtime/bin/release/TextObject.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
<Add option="-Wall" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DRELEASE" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add option="-DBOOST_DISABLE_ASSERTS" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio" />
|
||||
<Add option="-lsfml-graphics" />
|
||||
<Add option="-lsfml-window" />
|
||||
<Add option="-lsfml-system" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/release" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/release/TextObject.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/release/TextObject.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
<Target title="Mac - Debug">
|
||||
<Option output="../../Runtime/bin/debug/TextObject.xgdm" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).a" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="0" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-pg" />
|
||||
<Add option="-g" />
|
||||
|
||||
<Add option="-m32" />
|
||||
<Add option='-DGD_API=""' />
|
||||
<Add option='-DGD_CORE_API=""' />
|
||||
<Add option='-DGD_EXTENSION_API=""' />
|
||||
<Add option="-DDEBUG" />
|
||||
<Add option="-DMAC" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-pg -lgmon" />
|
||||
<Add option="-pg -g" />
|
||||
<Add option="-lGDCpp" />
|
||||
<Add option="-lsfml-audio-d" />
|
||||
<Add option="-lsfml-graphics-d" />
|
||||
<Add option="-lsfml-window-d" />
|
||||
<Add option="-lsfml-system-d" />
|
||||
<Add option="-framework OpenGL" />
|
||||
<Add option="-dynamiclib" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\Frameworks\sndfile.framework\sndfile" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libGLEW.a" />
|
||||
<Add library="..\..\ExtLibs\SFML\extlibs\libs-osx\lib\libjpeg.a" />
|
||||
<Add directory="../../Runtime/bin/debug" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mac/lib" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="install_name_tool -change ../Runtime/bin/release/libGDCpp.dylib libGDCpp.dylib ../../Runtime/bin/debug/TextObject.xgdm" />
|
||||
<Add after="install_name_tool -change @executable_path/../Frameworks/sndfile.framework/Versions/A/sndfile sndfile ../../Runtime/bin/debug/TextObject.xgdm" />
|
||||
</ExtraCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add directory="../../GDCpp" />
|
||||
<Add directory="../../ExtLibs/SFML/include" />
|
||||
<Add directory="../../ExtLibs/boost" />
|
||||
<Add directory="../../Core" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-debug/lib" />
|
||||
<Add directory="../../ExtLibs/SFML/build-mingw-release/lib" />
|
||||
</Linker>
|
||||
<Unit filename="Extension.cpp" />
|
||||
<Unit filename="JsExtension.cpp" />
|
||||
<Unit filename="TextObject.cpp" />
|
||||
<Unit filename="TextObject.h" />
|
||||
<Unit filename="TextObjectEditor.cpp" />
|
||||
<Unit filename="TextObjectEditor.h" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
<wxsmith version="1">
|
||||
<resources>
|
||||
<wxDialog wxs="wxsmith/TextObjectEditor.wxs" src="TextObjectEditor.cpp" hdr="TextObjectEditor.h" fwddecl="0" i18n="1" name="TextObjectEditor" language="CPP" />
|
||||
</resources>
|
||||
</wxsmith>
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@@ -12,29 +12,15 @@ set(GDCpp_Runtime_lib_dir ${GD_base_dir}/Binaries/Output/${CMAKE_BUILD_TYPE}_${C
|
||||
###
|
||||
include_directories(${sfml_include_dir})
|
||||
include_directories(${GDCORE_include_dir})
|
||||
IF(WIN32) #Special case for wxWidgets on Windows
|
||||
include_directories(${wxwidgets_include_dir})
|
||||
ELSEIF (NOT EMSCRIPTEN AND NOT NO_GUI)
|
||||
find_package(wxWidgets COMPONENTS core base adv net ribbon stc aui propgrid richtext html xrc REQUIRED)
|
||||
include( "${wxWidgets_USE_FILE}" )
|
||||
include_directories(${GTK_INCLUDE_DIRS})
|
||||
link_directories(${GTK_LIBRARY_DIRS})
|
||||
ENDIF(WIN32)
|
||||
|
||||
#Defines
|
||||
###
|
||||
set(GDCpp_extra_definitions "${GDCpp_extra_definitions} GD_IDE_ONLY=1;")
|
||||
IF (EMSCRIPTEN) #When compiling for the web, we do not want any GUI related feature.
|
||||
IF (EMSCRIPTEN)
|
||||
add_definitions( -DEMSCRIPTEN )
|
||||
ENDIF()
|
||||
IF (NO_GUI)
|
||||
add_definitions( -DGD_NO_WX_GUI )
|
||||
ENDIF()
|
||||
IF(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
add_definitions( -DDEBUG )
|
||||
IF(WIN32)
|
||||
add_definitions( -D__WXDEBUG__ )
|
||||
ENDIF(WIN32)
|
||||
ELSE()
|
||||
add_definitions( -DRELEASE )
|
||||
ENDIF()
|
||||
@@ -49,9 +35,6 @@ IF(WIN32)
|
||||
set(GDCpp_Runtime_exe_extra_definitions "${GDCpp_Runtime_exe_extra_definitions} GD_API=__declspec(dllimport);")
|
||||
|
||||
add_definitions( -D__GNUWIN32__ )
|
||||
add_definitions( -D__WXMSW__ )
|
||||
add_definitions( -DwxUSE_UNICODE=1 )
|
||||
add_definitions( -DWXUSINGDLL )
|
||||
ELSE()
|
||||
IF(APPLE)
|
||||
add_definitions( -DMACOS )
|
||||
@@ -60,9 +43,6 @@ ELSE()
|
||||
ENDIF()
|
||||
add_definitions( -DGD_API= )
|
||||
add_definitions( -DGD_CORE_API= )
|
||||
IF (NOT NO_GUI)
|
||||
add_definitions(${GTK_CFLAGS_OTHER})
|
||||
ENDIF()
|
||||
ENDIF(WIN32)
|
||||
|
||||
|
||||
@@ -78,9 +58,6 @@ file(GLOB_RECURSE source_gdcpp_runtime GDCpp/Runtime/*)
|
||||
|
||||
set(source_files ${source_gdcpp_builtin} ${source_gdcpp_runtime})
|
||||
set(ide_source_files ${source_files} ${source_gdcpp_events} ${source_gdcpp_ide})
|
||||
IF (NOT NO_GUI)
|
||||
list(APPEND ide_source_files ${source_gdcpp_ide_dialogs})
|
||||
ENDIF()
|
||||
|
||||
file(GLOB_RECURSE formatted_gdcpp_source_files tests/*.cpp GDCpp/Events/* GDCpp/Extensions/* GDCpp/IDE/*.cpp)
|
||||
list(REMOVE_ITEM formatted_gdcpp_source_files "${CMAKE_CURRENT_SOURCE_DIR}/GDCpp/IDE/Dialogs/GDCppDialogs.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/GDCpp/IDE/Dialogs/GDCppDialogs.h" "${CMAKE_CURRENT_SOURCE_DIR}/GDCpp/IDE/Dialogs/GDCppDialogs_dialogs_bitmaps.cpp")
|
||||
@@ -129,8 +106,6 @@ IF(EMSCRIPTEN)
|
||||
ELSE()
|
||||
target_link_libraries(GDCpp GDCore)
|
||||
target_link_libraries(GDCpp ${sfml_LIBRARIES})
|
||||
target_link_libraries(GDCpp ${wxWidgets_LIBRARIES})
|
||||
target_link_libraries(GDCpp ${GTK_LIBRARIES})
|
||||
ENDIF()
|
||||
|
||||
#Linker files for Runtime
|
||||
|
@@ -4,7 +4,7 @@
|
||||
* reserved. This project is released under the MIT License.
|
||||
*/
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#if defined(GD_IDE_ONLY) && !defined(EMSCRIPTEN)
|
||||
|
||||
#include "ProfileEvent.h"
|
||||
#include <iostream>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
* reserved. This project is released under the MIT License.
|
||||
*/
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#if defined(GD_IDE_ONLY) && !defined(EMSCRIPTEN)
|
||||
|
||||
#ifndef PROFILEEVENT_H
|
||||
#define PROFILEEVENT_H
|
||||
|
@@ -612,52 +612,15 @@ EventsCodeGenerator::~EventsCodeGenerator() {}
|
||||
void EventsCodeGenerator::PreprocessEventList(gd::EventsList& eventsList) {
|
||||
if (!HasProjectAndLayout()) return;
|
||||
|
||||
#if !defined( \
|
||||
GD_NO_WX_GUI) // No support for profiling when wxWidgets is disabled.
|
||||
std::shared_ptr<ProfileEvent> previousProfileEvent;
|
||||
#endif
|
||||
|
||||
for (std::size_t i = 0; i < eventsList.size(); ++i) {
|
||||
eventsList[i].Preprocess(*this, eventsList, i);
|
||||
if (i < eventsList.size()) { // Be sure that that there is still an event!
|
||||
// ( Preprocess can remove it. )
|
||||
if (eventsList[i].CanHaveSubEvents())
|
||||
PreprocessEventList(eventsList[i].GetSubEvents());
|
||||
|
||||
#if !defined( \
|
||||
GD_NO_WX_GUI) // No support for profiling when wxWidgets is disabled.
|
||||
if (GetLayout().GetProfiler() &&
|
||||
GetLayout().GetProfiler()->profilingActivated &&
|
||||
eventsList[i].IsExecutable()) {
|
||||
// Define a new profile event
|
||||
std::shared_ptr<ProfileEvent> profileEvent =
|
||||
std::make_shared<ProfileEvent>();
|
||||
profileEvent->originalEvent = eventsList[i].originalEvent;
|
||||
profileEvent->SetPreviousProfileEvent(previousProfileEvent);
|
||||
|
||||
// Add it before the event to profile
|
||||
eventsList.InsertEvent(profileEvent, i);
|
||||
|
||||
previousProfileEvent = profileEvent;
|
||||
++i; // Don't preprocess the newly added profile event
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined( \
|
||||
GD_NO_WX_GUI) // No support for profiling when wxWidgets is disabled.
|
||||
if (!eventsList.IsEmpty() && GetLayout().GetProfiler() &&
|
||||
GetLayout().GetProfiler()->profilingActivated) {
|
||||
// Define a new profile events
|
||||
std::shared_ptr<ProfileEvent> profileEvent =
|
||||
std::make_shared<ProfileEvent>();
|
||||
profileEvent->SetPreviousProfileEvent(previousProfileEvent);
|
||||
|
||||
// Add it at the end of the events list
|
||||
eventsList.InsertEvent(profileEvent, eventsList.GetEventsCount());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
|
||||
* reserved. This project is released under the MIT License.
|
||||
*/
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#if defined(GD_IDE_ONLY) && !defined(EMSCRIPTEN)
|
||||
|
||||
#include "ProfileTools.h"
|
||||
#include <iostream>
|
||||
|
@@ -73,7 +73,7 @@ TimeExtension::TimeExtension() {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#if defined(GD_IDE_ONLY) && !defined(EMSCRIPTEN)
|
||||
void TimeExtension::GetPropertyForDebugger(RuntimeScene& scene,
|
||||
std::size_t propertyNb,
|
||||
gd::String& name,
|
||||
|
@@ -19,7 +19,7 @@ class TimeExtension : public ExtensionBase {
|
||||
TimeExtension();
|
||||
virtual ~TimeExtension(){};
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#if defined(GD_IDE_ONLY) && !defined(EMSCRIPTEN)
|
||||
bool HasDebuggingProperties() const { return true; };
|
||||
void GetPropertyForDebugger(RuntimeScene& scene,
|
||||
std::size_t propertyNb,
|
||||
|
@@ -10,9 +10,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "GDCpp/Runtime/String.h"
|
||||
#if defined(GD_IDE_ONLY)
|
||||
class wxString;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Functor testing if a gd::String is empty
|
||||
|
@@ -5,8 +5,7 @@
|
||||
* This is the help file for the GDevelop C++ Platform, which contains a
|
||||
* reference of all the features provided by the C++ Platform and explains how
|
||||
* to create extensions for this platform.<br> To create new extensions, you
|
||||
* should have some basic knowledge of C++. GDevelop mainly uses SFML and
|
||||
* wxWidgets libraries.
|
||||
* should have some basic knowledge of C++.
|
||||
*
|
||||
* ### GDevelop Core documentation
|
||||
* Some classes and features are provided by the *GDevelop Core library*: When
|
||||
|
@@ -12,10 +12,6 @@ RuntimeObject* ObjInstancesHolder::AddObject(RuntimeObjSPtr&& object) {
|
||||
objectsInstances[object->GetName()].end(), std::move(object));
|
||||
objectsInstancesRefs[(*it)->GetName()].push_back(it->get());
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
if (!debugger.expired()) debugger.lock()->OnRuntimeObjectAdded(it->get());
|
||||
#endif
|
||||
|
||||
return it->get();
|
||||
}
|
||||
|
||||
@@ -33,10 +29,6 @@ void ObjInstancesHolder::ObjectNameHasChanged(const RuntimeObject* object) {
|
||||
RuntimeObjList& list = it->second;
|
||||
for (std::size_t i = 0; i < list.size(); ++i) {
|
||||
if (list[i].get() == object) {
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
if (!debugger.expired())
|
||||
debugger.lock()->OnRuntimeObjectAboutToBeRemoved(list[i].get());
|
||||
#endif
|
||||
theObject = std::move(list[i]);
|
||||
list.erase(list.begin() + i);
|
||||
break;
|
||||
@@ -59,11 +51,6 @@ void ObjInstancesHolder::Init(const ObjInstancesHolder& other) {
|
||||
objectsInstances.clear();
|
||||
objectsInstancesRefs.clear();
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
debugger =
|
||||
std::weak_ptr<BaseDebugger>(); // Do not affect the other's debugger
|
||||
#endif
|
||||
|
||||
for (auto it = other.objectsInstances.cbegin();
|
||||
it != other.objectsInstances.cend();
|
||||
++it) {
|
||||
|
@@ -9,9 +9,6 @@
|
||||
#include <vector>
|
||||
#include "GDCpp/Runtime/RuntimeObject.h"
|
||||
#include "GDCpp/Runtime/String.h"
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
#include "GDCpp/IDE/BaseDebugger.h"
|
||||
#endif
|
||||
|
||||
class RuntimeObject;
|
||||
|
||||
@@ -94,11 +91,6 @@ class GD_API ObjInstancesHolder {
|
||||
* \endcode
|
||||
*/
|
||||
inline void RemoveObject(RuntimeObject* object) {
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
if (!debugger.expired())
|
||||
debugger.lock()->OnRuntimeObjectAboutToBeRemoved(object);
|
||||
#endif
|
||||
|
||||
for (auto it = objectsInstances.begin(); it != objectsInstances.end();
|
||||
++it) {
|
||||
RuntimeObjList& associatedList = it->second;
|
||||
@@ -125,12 +117,6 @@ class GD_API ObjInstancesHolder {
|
||||
* \brief Remove an entire list of object with a given name
|
||||
*/
|
||||
inline void RemoveObjects(const gd::String& name) {
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
if (!debugger.expired()) {
|
||||
for (auto& objectPtr : objectsInstances[name])
|
||||
debugger.lock()->OnRuntimeObjectAboutToBeRemoved(objectPtr.get());
|
||||
}
|
||||
#endif
|
||||
objectsInstances[name].clear();
|
||||
objectsInstancesRefs[name].clear();
|
||||
}
|
||||
@@ -145,20 +131,10 @@ class GD_API ObjInstancesHolder {
|
||||
* \note All objects contained inside are destroyed.
|
||||
*/
|
||||
inline void Clear() {
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
if (!debugger.expired()) debugger.lock()->OnRuntimeObjectListFullRefresh();
|
||||
#endif
|
||||
objectsInstances.clear();
|
||||
objectsInstancesRefs.clear();
|
||||
}
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
void SetDebugger(std::shared_ptr<BaseDebugger> newDebugger) {
|
||||
debugger = newDebugger;
|
||||
if (newDebugger) newDebugger->OnRuntimeObjectListFullRefresh();
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
void Init(const ObjInstancesHolder& other);
|
||||
|
||||
@@ -167,10 +143,6 @@ class GD_API ObjInstancesHolder {
|
||||
std::unordered_map<gd::String, RuntimeObjNonOwningPtrList>
|
||||
objectsInstancesRefs; ///< Clones of the objectsInstances lists, but with
|
||||
///< references instead.
|
||||
|
||||
#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI)
|
||||
std::weak_ptr<BaseDebugger> debugger;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif // OBJINSTANCESHOLDER_H
|
||||
|
@@ -10,35 +10,16 @@
|
||||
#include "GDCpp/Runtime/RuntimeObject.h"
|
||||
namespace gd {
|
||||
class InitialInstance;
|
||||
}
|
||||
namespace gd {
|
||||
class Object;
|
||||
}
|
||||
namespace gd {
|
||||
class Layout;
|
||||
class Sprite;
|
||||
class SpriteObject;
|
||||
class Animation;
|
||||
class PropertyDescriptor;
|
||||
}
|
||||
namespace sf {
|
||||
class Sprite;
|
||||
}
|
||||
namespace gd {
|
||||
class Sprite;
|
||||
}
|
||||
namespace gd {
|
||||
class SpriteObject;
|
||||
}
|
||||
namespace gd {
|
||||
class Animation;
|
||||
}
|
||||
namespace gd {
|
||||
class MainFrameWrapper;
|
||||
}
|
||||
namespace gd {
|
||||
class PropertyDescriptor;
|
||||
}
|
||||
#if defined(GD_IDE_ONLY)
|
||||
class wxBitmap;
|
||||
class wxWindow;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Wrapper around a pointer to Animation, used to reduce compile time.
|
||||
|
@@ -27,10 +27,9 @@ External libraries used by GDevelop C++ Platform
|
||||
---------------------------------------------------
|
||||
|
||||
* SFML is distributed under the zlib/png license
|
||||
* wxWidgets is distributed under wxWindows License (similar to GNU LGPL)
|
||||
|
||||
GDCpp also uses the Liberation font which is licensed under the SIL OPEN FONT LICENCE 1.1. The license is just below :
|
||||
----------------------------------------------------------------------------------------------------------------------
|
||||
GDCpp also uses the Liberation font which is licensed under the SIL OPEN FONT LICENCE 1.1. The license is below:
|
||||
----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Digitized data copyright (c) 2010 Google Corporation
|
||||
with Reserved Font Arimo, Tinos and Cousine.
|
||||
|
@@ -6,27 +6,15 @@ project(GDJS)
|
||||
###
|
||||
include_directories(${sfml_include_dir})
|
||||
include_directories(${GDCORE_include_dir})
|
||||
IF(WIN32) #Special case for wxWidgets on Windows
|
||||
include_directories(${wxwidgets_include_dir})
|
||||
ELSEIF (NOT EMSCRIPTEN AND NOT NO_GUI)
|
||||
find_package(wxWidgets COMPONENTS core base adv net ribbon stc aui propgrid richtext html xrc REQUIRED)
|
||||
include( "${wxWidgets_USE_FILE}" )
|
||||
include_directories(${GTK_INCLUDE_DIRS})
|
||||
link_directories(${GTK_LIBRARY_DIRS})
|
||||
ENDIF(WIN32)
|
||||
|
||||
#Defines
|
||||
###
|
||||
add_definitions( -DGD_IDE_ONLY )
|
||||
IF (EMSCRIPTEN) #When compiling for the web, we do not want any GUI related feature.
|
||||
add_definitions( -DGD_NO_WX_GUI )
|
||||
IF (EMSCRIPTEN)
|
||||
add_definitions( -DEMSCRIPTEN )
|
||||
ENDIF()
|
||||
IF(CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
add_definitions( -DDEBUG )
|
||||
IF(WIN32)
|
||||
add_definitions( -D__WXDEBUG__ )
|
||||
ENDIF(WIN32)
|
||||
ELSE()
|
||||
add_definitions( -DRELEASE )
|
||||
ENDIF()
|
||||
@@ -35,11 +23,7 @@ IF(WIN32)
|
||||
add_definitions( -DWINDOWS )
|
||||
add_definitions( "-DGD_API=__declspec(dllexport)" )
|
||||
add_definitions( "-DGD_CORE_API=__declspec( dllimport )" )
|
||||
|
||||
add_definitions( -D__GNUWIN32__ )
|
||||
add_definitions( -D__WXMSW__ )
|
||||
add_definitions( -DwxUSE_UNICODE=1 )
|
||||
add_definitions( -DWXUSINGDLL )
|
||||
ELSE()
|
||||
IF(APPLE)
|
||||
add_definitions( -DMACOS )
|
||||
@@ -48,7 +32,6 @@ ELSE()
|
||||
ENDIF()
|
||||
add_definitions( -DGD_API= )
|
||||
add_definitions( -DGD_CORE_API= )
|
||||
add_definitions(${GTK_CFLAGS_OTHER})
|
||||
ENDIF(WIN32)
|
||||
|
||||
#The target
|
||||
@@ -91,8 +74,6 @@ IF(EMSCRIPTEN)
|
||||
ELSE()
|
||||
target_link_libraries(GDJS GDCore)
|
||||
target_link_libraries(GDJS ${sfml_LIBRARIES})
|
||||
target_link_libraries(GDJS ${wxWidgets_LIBRARIES}) #Add wxWidgets libraries if needed.
|
||||
target_link_libraries(GDJS ${GTK_LIBRARIES}) #Add GTK libraries if needed (Linux only).
|
||||
ENDIF()
|
||||
|
||||
#Post build tasks
|
||||
|
@@ -28,4 +28,3 @@ External libraries used by GDevelop JS Platform
|
||||
|
||||
* Pixi.js is distributed under the MIT license
|
||||
* mongoose is distributed under the MIT license
|
||||
* wxWidgets is distributed under wxWindows License (similar to GNU LGPL)
|
||||
|
@@ -5,11 +5,4 @@ SVN Repository
|
||||
Binaries\
|
||||
\.cccc\
|
||||
\doc\
|
||||
.depend
|
||||
wxsmith\
|
||||
CommonDialogs\dlib-17.49\docs
|
||||
CommonDialogs\dlib-17.49\examples
|
||||
CommonDialogs\dlib-17.49\documentation.htm
|
||||
dlib-17.12
|
||||
Skeleton-Object\
|
||||
Widgets-Extension\
|
||||
.depend
|
Reference in New Issue
Block a user