diff --git a/CMakeLists.txt b/CMakeLists.txt index f83b1a26f..68d4f0fc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,7 @@ option(USE_SHARED_FREETYPE "Use shared FreeType library" off) option(USE_SHARED_ALLEGRO4 "Use shared Allegro 4 library (without resize support)" off) option(ENABLE_MEMLEAK "Enable memory-leaks detector (only for developers)" off) option(ENABLE_UPDATER "Enable automatic check for updates" on) +option(ENABLE_SCRIPTING "Compile with scripting support" on) option(ENABLE_WEBSERVER "Enable support to run a webserver (for HTML5 gamedev)" off) option(ENABLE_TESTS "Enable the unit tests" off) option(ENABLE_TRIAL_MODE "Compile the trial version" off) @@ -163,9 +164,16 @@ else() add_definitions(-DNDEBUG) endif() -# Fix to compile gtest with VC11 (2012) -if(MSVC_VERSION EQUAL 1700) - add_definitions(-D_VARIADIC_MAX=10) +if(MSVC) + if(USE_STATIC_LIBC) + if(CMAKE_BUILD_TYPE STREQUAL Debug) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -MTd") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -MTd") + else() + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -MT") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -MT") + endif() + endif() endif() if(NOT WIN32 AND NOT APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") @@ -438,6 +446,10 @@ if(ENABLE_MEMLEAK) add_definitions(-DLAF_MEMLEAK) endif() +if(NOT USE_STATIC_LIBC) + set(gtest_force_shared_crt ON CACHE BOOL "Use shared (DLL) run-time lib even when Google Test is built as static lib.") +endif() + set(LAF_WITH_TESTS ${ENABLE_TESTS} CACHE BOOL "Enable LAF tests") add_subdirectory(laf) diff --git a/README.md b/README.md index ee2332d1a..61f441f11 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,7 @@ And it uses the following third-party libraries: * [Allegro 4](http://alleg.sourceforge.net/) - [allegro4 license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/allegro4-LICENSE.txt) * [FreeType](http://www.freetype.org/) - [FTL license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/FTL.txt) -* [Google Test](https://github.com/google/googletest) - [gtest license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/gtest-LICENSE.txt) -* [XFree86](http://www.x.org/) - [XFree86 license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/XFree86-LICENSE.txt) +* [Google Test](https://github.com/google/googletest) - [BSD-like license](https://github.com/aseprite/googletest/blob/master/googletest/LICENSE) * [curl](http://curl.haxx.se/) - [curl license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/curl-LICENSE.txt) * [duktape](http://duktape.org/) - [MIT license](https://github.com/aseprite/aseprite/tree/master/third_party/duktape/LICENSE.txt) * [giflib](http://sourceforge.net/projects/giflib/) - [giflib license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/giflib-LICENSE.txt) @@ -86,9 +85,9 @@ And it uses the following third-party libraries: * [libpng](http://www.libpng.org/pub/png/) - [libpng license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/libpng-LICENSE.txt) * [libwebp](https://developers.google.com/speed/webp/) - [libwebp license](https://chromium.googlesource.com/webm/libwebp/+/master/COPYING) * [loadpng](http://tjaden.strangesoft.net/loadpng/) - [zlib license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/ZLIB.txt) -* [modp_b64](https://github.com/aseprite/aseprite/tree/master/third_party/modp_b64/modp_b64.h) - [BSD license](https://github.com/aseprite/aseprite/tree/master/third_party/modp_b64/LICENSE) * [pixman](http://www.pixman.org/) - [MIT license](http://cgit.freedesktop.org/pixman/plain/COPYING) * [simpleini](https://github.com/aseprite/simpleini/) - [MIT license](https://github.com/aseprite/simpleini/blob/aseprite/LICENCE.txt) +* [stringencoders](https://github.com/client9/stringencoders) - [MIT license](https://github.com/aseprite/stringencoders/blob/master/LICENSE) * [tinyxml](http://www.sourceforge.net/projects/tinyxml) - [zlib license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/ZLIB.txt) * [zlib](http://www.gzip.org/zlib/) - [ZLIB license](https://github.com/aseprite/aseprite/tree/master/docs/licenses/ZLIB.txt) @@ -103,8 +102,7 @@ This program is distributed under three different licenses: (e.g. [laf](https://github.com/aseprite/laf), [clip](https://github.com/aseprite/clip), [she](https://github.com/aseprite/aseprite/tree/master/src/she), - [gfx](https://github.com/aseprite/gfx), - [ui](https://github.com/aseprite/ui), etc.). + [gfx](src/gfx), [ui](src/ui), etc.). 2. You can request a special [educational license](http://www.aseprite.org/faq/#is-there-an-educational-license) in case you are a teacher in an educational institution and want to diff --git a/data/icons/ase16.png b/data/icons/ase16.png index 2389bef4f..e53241253 100644 Binary files a/data/icons/ase16.png and b/data/icons/ase16.png differ diff --git a/data/icons/ase32.png b/data/icons/ase32.png index 5af641971..da6c76459 100644 Binary files a/data/icons/ase32.png and b/data/icons/ase32.png differ diff --git a/data/icons/ase48.png b/data/icons/ase48.png index 90352b0a6..9583341ff 100644 Binary files a/data/icons/ase48.png and b/data/icons/ase48.png differ diff --git a/data/icons/ase64.png b/data/icons/ase64.png index 4d16e4282..1624dd8da 100644 Binary files a/data/icons/ase64.png and b/data/icons/ase64.png differ diff --git a/data/icons/doc16.png b/data/icons/doc16.png index be0174b74..b3ee801d7 100644 Binary files a/data/icons/doc16.png and b/data/icons/doc16.png differ diff --git a/data/icons/doc32.png b/data/icons/doc32.png index a4bafdb01..2bfe477fa 100644 Binary files a/data/icons/doc32.png and b/data/icons/doc32.png differ diff --git a/data/icons/doc48.png b/data/icons/doc48.png index 208651b2b..f6e913b15 100644 Binary files a/data/icons/doc48.png and b/data/icons/doc48.png differ diff --git a/data/icons/doc64.png b/data/icons/doc64.png index 5e6431373..19869ab1e 100644 Binary files a/data/icons/doc64.png and b/data/icons/doc64.png differ diff --git a/data/pref.xml b/data/pref.xml index b27cefb9a..cad993b7e 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -99,7 +99,7 @@