├── .gitignore ├── .gitmodules ├── README.md ├── cinderblock.png ├── cinderblock.xml ├── include └── CinderCereal.h └── samples └── Cereal ├── include └── Resources.h ├── resources ├── CinderApp.icns ├── CinderApp_ios.png └── cinder_app_icon.ico ├── src └── CerealApp.cpp ├── vc2015 ├── Cereal.sln ├── Cereal.vcxproj ├── Cereal.vcxproj.filters └── Resources.rc ├── xcode ├── Cereal.xcodeproj │ └── project.pbxproj ├── Cereal_Prefix.pch └── Info.plist └── xcode_ios ├── Cereal.xcodeproj └── project.pbxproj ├── Cereal_Prefix.pch ├── Images.xcassets └── LaunchImage.launchimage │ ├── Contents.json │ ├── Default-568h@2x.png │ ├── Default-667@2x.png │ └── Default-736h@3x~iphone.png ├── Info.plist └── LaunchScreen.xib /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Compiled Object files 3 | *.slo 4 | *.lo 5 | *.o 6 | *.obj 7 | 8 | # Mac OS X cruft 9 | *.pbxuser 10 | *.mode1v3 11 | *.mode2v3 12 | *.user 13 | *.xcworkspace/ 14 | xcuserdata/ 15 | .DS_Store 16 | 17 | build/ 18 | 19 | # Windows cruft 20 | *.suo 21 | *.ncb 22 | *.sdf 23 | *.opensdf 24 | Debug/ 25 | Release/ 26 | ipch/ 27 | 28 | # doxygen generated files 29 | docs/html 30 | docs/doxygen/cinder.tag 31 | 32 | 33 | # Compiled Static libraries 34 | *.lai 35 | *.la 36 | *.a 37 | *.lib 38 | 39 | # Executables 40 | *.exe 41 | *.out 42 | *.app 43 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "lib/cereal"] 2 | path = lib/cereal 3 | url = https://github.com/USCiLab/cereal.git 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cinder-Cereal 2 | Add serialization support for Cinder's classes. 3 | -------------------------------------------------------------------------------- /cinderblock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/cinderblock.png -------------------------------------------------------------------------------- /cinderblock.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 11 | include 12 | lib/cereal/include 13 |
include/CinderCereal.h
14 |
15 |
-------------------------------------------------------------------------------- /include/CinderCereal.h: -------------------------------------------------------------------------------- 1 | /* 2 | Cinder-Cereal 3 | Copyright (c) 2016, Simon Geilfus, All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that 6 | the following conditions are met: 7 | 8 | * Redistributions of source code must retain the above copyright notice, this list of conditions and 9 | the following disclaimer. 10 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and 11 | the following disclaimer in the documentation and/or other materials provided with the distribution. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED 14 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 15 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 16 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 17 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 18 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 19 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 20 | POSSIBILITY OF SUCH DAMAGE. 21 | */ 22 | 23 | #pragma once 24 | 25 | #include "cinder/Matrix.h" 26 | #include "cinder/Quaternion.h" 27 | #include "cinder/Vector.h" 28 | 29 | #include "cinder/Area.h" 30 | #include "cinder/Camera.h" 31 | #include "cinder/Color.h" 32 | #include "cinder/Rect.h" 33 | #include "cinder/Filesystem.h" 34 | 35 | #if ! defined( CINDER_CEREAL_NVP ) 36 | #define CINDER_CEREAL_NVP 1 37 | #endif 38 | 39 | namespace cereal { 40 | 41 | // glm vector serialization 42 | #if CINDER_CEREAL_NVP 43 | template void serialize( Archive & archive, ci::vec2 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ) ); } 44 | template void serialize( Archive & archive, ci::vec3 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ) ); } 45 | template void serialize( Archive & archive, ci::vec4 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ), cereal::make_nvp( "w", v.w ) ); } 46 | template void serialize( Archive & archive, ci::ivec2 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ) ); } 47 | template void serialize( Archive & archive, ci::ivec3 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ) ); } 48 | template void serialize( Archive & archive, ci::ivec4 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ), cereal::make_nvp( "w", v.w ) ); } 49 | template void serialize( Archive & archive, ci::uvec2 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ) ); } 50 | template void serialize( Archive & archive, ci::uvec3 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ) ); } 51 | template void serialize( Archive & archive, ci::uvec4 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ), cereal::make_nvp( "w", v.w ) ); } 52 | template void serialize( Archive & archive, ci::dvec2 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ) ); } 53 | template void serialize( Archive & archive, ci::dvec3 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ) ); } 54 | template void serialize( Archive & archive, ci::dvec4 &v ) { archive( cereal::make_nvp( "x", v.x ), cereal::make_nvp( "y", v.y ), cereal::make_nvp( "z", v.z ), cereal::make_nvp( "w", v.w ) ); } 55 | #else 56 | template void serialize( Archive & archive, ci::vec2 &v ) { archive( v.x, v.y ); } 57 | template void serialize( Archive & archive, ci::vec3 &v ) { archive( v.x, v.y, v.z ); } 58 | template void serialize( Archive & archive, ci::vec4 &v ) { archive( v.x, v.y, v.z, v.w ); } 59 | template void serialize( Archive & archive, ci::ivec2 &v ) { archive( v.x, v.y ); } 60 | template void serialize( Archive & archive, ci::ivec3 &v ) { archive( v.x, v.y, v.z ); } 61 | template void serialize( Archive & archive, ci::ivec4 &v ) { archive( v.x, v.y, v.z, v.w ); } 62 | template void serialize( Archive & archive, ci::uvec2 &v ) { archive( v.x, v.y ); } 63 | template void serialize( Archive & archive, ci::uvec3 &v ) { archive( v.x, v.y, v.z ); } 64 | template void serialize( Archive & archive, ci::uvec4 &v ) { archive( v.x, v.y, v.z, v.w ); } 65 | template void serialize( Archive & archive, ci::dvec2 &v ) { archive( v.x, v.y ); } 66 | template void serialize( Archive & archive, ci::dvec3 &v ) { archive( v.x, v.y, v.z ); } 67 | template void serialize( Archive & archive, ci::dvec4 &v ) { archive( v.x, v.y, v.z, v.w ); } 68 | #endif 69 | 70 | // glm matrices serialization 71 | template void serialize( Archive & archive, ci::mat2 &m ) { archive( m[0], m[1] ); } 72 | template void serialize( Archive & archive, ci::dmat2 &m ) { archive( m[0], m[1] ); } 73 | template void serialize( Archive & archive, ci::mat3 &m ) { archive( m[0], m[1], m[2] ); } 74 | template void serialize( Archive & archive, ci::mat4 &m ) { archive( m[0], m[1], m[2], m[3] ); } 75 | template void serialize( Archive & archive, ci::dmat4 &m ) { archive( m[0], m[1], m[2], m[3] ); } 76 | 77 | // glm quaternions serialization 78 | #if CINDER_CEREAL_NVP 79 | template void serialize( Archive & archive, ci::quat &q ) { archive( cereal::make_nvp( "x", q.x ), cereal::make_nvp( "y", q.y ), cereal::make_nvp( "z", q.z ), cereal::make_nvp( "z", q.w ) ); } 80 | template void serialize( Archive & archive, ci::dquat &q ) { archive( cereal::make_nvp( "x", q.x ), cereal::make_nvp( "y", q.y ), cereal::make_nvp( "z", q.z ), cereal::make_nvp( "z", q.w ) ); } 81 | #else 82 | template void serialize( Archive & archive, ci::quat &q ) { archive( q.x, q.y, q.z, q.w ); } 83 | template void serialize( Archive & archive, ci::dquat &q ) { archive( q.x, q.y, q.z, q.w ); } 84 | #endif 85 | 86 | // Area 87 | #if CINDER_CEREAL_NVP 88 | template 89 | void save( Archive & archive, const ci::Area &area ) 90 | { 91 | archive( cereal::make_nvp( "x1", area.getX1() ), cereal::make_nvp( "y1", area.getY1() ), cereal::make_nvp( "x2", area.getX2() ), cereal::make_nvp( "y2", area.getY2() ) ); 92 | } 93 | #else 94 | template 95 | void save( Archive & archive, const ci::Area &area ) 96 | { 97 | archive( area.getX1(), area.getY1(), area.getX2(), area.getY2() ); 98 | } 99 | #endif 100 | template 101 | void load( Archive & archive, ci::Area &area ) 102 | { 103 | int32_t x1, y1, x2, y2; 104 | archive( x1, y1, x2, y2 ); 105 | area.set( x1, y1, x2, y2 ); 106 | } 107 | 108 | // Color 109 | #if CINDER_CEREAL_NVP 110 | template void serialize( Archive & archive, ci::Color &c ) { archive( cereal::make_nvp( "r", c.r ), cereal::make_nvp( "g", c.g ), cereal::make_nvp( "b", c.b ) ); } 111 | template void serialize( Archive & archive, ci::Color8u &c ) { archive(cereal::make_nvp( "r", c.r ), cereal::make_nvp( "g", c.g ), cereal::make_nvp( "b", c.b ) ); } 112 | template void serialize( Archive & archive, ci::ColorA &c ) { archive( cereal::make_nvp( "r", c.r ), cereal::make_nvp( "g", c.g ), cereal::make_nvp( "b", c.b ), cereal::make_nvp( "a", c.a ) ); } 113 | template void serialize( Archive & archive, ci::ColorA8u &c ) { archive( cereal::make_nvp( "r", c.r ), cereal::make_nvp( "g", c.g ), cereal::make_nvp( "b", c.b ), cereal::make_nvp( "a", c.a ) ); } 114 | #else 115 | template void serialize( Archive & archive, ci::Color &c ) { archive( c.r, c.g, c.b ); } 116 | template void serialize( Archive & archive, ci::Color8u &c ) { archive( c.r, c.g, c.b ); } 117 | template void serialize( Archive & archive, ci::ColorA &c ) { archive( c.r, c.g, c.b, c.a ); } 118 | template void serialize( Archive & archive, ci::ColorA8u &c ) { archive( c.r, c.g, c.b, c.a ); } 119 | #endif 120 | 121 | // Rect 122 | #if CINDER_CEREAL_NVP 123 | template 124 | void save( Archive & archive, const ci::Rectf &rect ) 125 | { 126 | archive( cereal::make_nvp( "x1", rect.getX1() ), cereal::make_nvp( "y1", rect.getY1() ), cereal::make_nvp( "x2", rect.getX2() ), cereal::make_nvp( "y2", rect.getY2() ) ); 127 | } 128 | #else 129 | template 130 | void save( Archive & archive, const ci::Rectf &rect ) 131 | { 132 | archive( rect.getX1(), rect.getY1(), rect.getX2(), rect.getY2() ); 133 | } 134 | #endif 135 | template 136 | void load( Archive & archive, ci::Rectf &rect ) 137 | { 138 | float x1, y1, x2, y2; 139 | archive( x1, y1, x2, y2 ); 140 | rect.set( x1, y1, x2, y2 ); 141 | } 142 | #if CINDER_CEREAL_NVP 143 | template 144 | void save( Archive & archive, const ci::Rectd &rect ) 145 | { 146 | archive( cereal::make_nvp( "x1", rect.getX1() ), cereal::make_nvp( "y1", rect.getY1() ), cereal::make_nvp( "x2", rect.getX2() ), cereal::make_nvp( "y2", rect.getY2() ) ); 147 | } 148 | #else 149 | template 150 | void save( Archive & archive, const ci::Rectd &rect ) 151 | { 152 | archive( rect.getX1(), rect.getY1(), rect.getX2(), rect.getY2() ); 153 | } 154 | #endif 155 | template 156 | void load( Archive & archive, ci::Rectd &rect ) 157 | { 158 | double x1, y1, x2, y2; 159 | archive( x1, y1, x2, y2 ); 160 | rect.set( x1, y1, x2, y2 ); 161 | } 162 | 163 | // Camera 164 | #if CINDER_CEREAL_NVP 165 | template 166 | void save( Archive & archive, const ci::Camera &cam ) 167 | { 168 | archive( cereal::make_nvp( "eye_point", cam.getEyePoint() ), cereal::make_nvp( "orientation", cam.getOrientation() ), cereal::make_nvp( "fov", cam.getFov() ), cereal::make_nvp( "aspect_ratio", cam.getAspectRatio() ), cereal::make_nvp( "near_clip", cam.getNearClip() ), cereal::make_nvp( "far_clip", cam.getFarClip() ), cereal::make_nvp( "pivot_distance", cam.getPivotDistance() ) ); 169 | } 170 | #else 171 | template 172 | void save( Archive & archive, const ci::Camera &cam ) 173 | { 174 | archive( cam.getEyePoint(), cam.getOrientation(), cam.getFov(), cam.getAspectRatio(), cam.getNearClip(), cam.getFarClip(), cam.getPivotDistance() ); 175 | } 176 | #endif 177 | template 178 | void load( Archive & archive, ci::Camera &cam ) 179 | { 180 | ci::vec3 eye; 181 | ci::quat orientation; 182 | float verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist; 183 | archive( eye, orientation, verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist ); 184 | cam.setEyePoint( eye ); 185 | cam.setOrientation( orientation ); 186 | cam.setFov( verticalFovDegrees ); 187 | cam.setAspectRatio( aspectRatio ); 188 | cam.setNearClip( nearPlane ); 189 | cam.setFarClip( farPlane ); 190 | cam.setPivotDistance( pivotDist ); 191 | } 192 | // CameraPersp 193 | #if CINDER_CEREAL_NVP 194 | template 195 | void save( Archive & archive, const ci::CameraPersp &cam ) 196 | { 197 | archive( cereal::make_nvp( "eye_point", cam.getEyePoint() ), cereal::make_nvp( "orientation", cam.getOrientation() ), cereal::make_nvp( "fov", cam.getFov() ), cereal::make_nvp( "aspect_ratio", cam.getAspectRatio() ), cereal::make_nvp( "near_clip", cam.getNearClip() ), cereal::make_nvp( "far_clip", cam.getFarClip() ), cereal::make_nvp( "pivot_distance", cam.getPivotDistance() ), cereal::make_nvp( "lens_shift", cam.getLensShift() ) ); 198 | } 199 | #else 200 | template 201 | void save( Archive & archive, const ci::CameraPersp &cam ) 202 | { 203 | archive( cam.getEyePoint(), cam.getOrientation(), cam.getFov(), cam.getAspectRatio(), cam.getNearClip(), cam.getFarClip(), cam.getPivotDistance(), cam.getLensShift() ); 204 | } 205 | #endif 206 | template 207 | void load( Archive & archive, ci::CameraPersp &cam ) 208 | { 209 | ci::vec3 eye; 210 | ci::vec2 lensShift; 211 | ci::quat orientation; 212 | float verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist; 213 | archive( eye, orientation, verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist, lensShift ); 214 | cam.setEyePoint( eye ); 215 | cam.setOrientation( orientation ); 216 | cam.setPerspective( verticalFovDegrees, aspectRatio, nearPlane, farPlane ); 217 | cam.setPivotDistance( pivotDist ); 218 | cam.setLensShift( lensShift ); 219 | } 220 | // CameraOrtho 221 | #if CINDER_CEREAL_NVP 222 | template 223 | void save( Archive & archive, const ci::CameraStereo &cam ) 224 | { 225 | archive( cereal::make_nvp( "eye_point", cam.getEyePoint() ), cereal::make_nvp( "orientation", cam.getOrientation() ), cereal::make_nvp( "fov", cam.getFov() ), cereal::make_nvp( "aspect_ratio", cam.getAspectRatio() ), cereal::make_nvp( "near_clip", cam.getNearClip() ), cereal::make_nvp( "far_clip", cam.getFarClip() ), cereal::make_nvp( "pivot_distance", cam.getPivotDistance() ), cereal::make_nvp( "lens_shift", cam.getLensShift() ), cereal::make_nvp( "convergence", cam.getConvergence() ), cereal::make_nvp( "eye_separation", cam.getEyeSeparation() ) ); 226 | } 227 | #else 228 | template 229 | void save( Archive & archive, const ci::CameraStereo &cam ) 230 | { 231 | archive( cam.getEyePoint(), cam.getOrientation(), cam.getFov(), cam.getAspectRatio(), cam.getNearClip(), cam.getFarClip(), cam.getPivotDistance(), cam.getLensShift(), cam.getConvergence(), cam.getEyeSeparation() ); 232 | } 233 | #endif 234 | template 235 | void load( Archive & archive, ci::CameraStereo &cam ) 236 | { 237 | ci::vec3 eye; 238 | ci::vec2 lensShift; 239 | ci::quat orientation; 240 | float verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist, convergence, eyeSeparation; 241 | archive( eye, orientation, verticalFovDegrees, aspectRatio, nearPlane, farPlane, pivotDist, lensShift, convergence, eyeSeparation ); 242 | cam.setEyePoint( eye ); 243 | cam.setOrientation( orientation ); 244 | cam.setPerspective( verticalFovDegrees, aspectRatio, nearPlane, farPlane ); 245 | cam.setPivotDistance( pivotDist ); 246 | cam.setLensShift( lensShift ); 247 | cam.setConvergence( convergence ); 248 | cam.setEyeSeparation( eyeSeparation ); 249 | } 250 | 251 | // fs::path 252 | template 253 | void save( Archive & archive, const ci::fs::path &p ) 254 | { 255 | archive( p.string() ); 256 | } 257 | template 258 | void load( Archive & archive, ci::fs::path &p ) 259 | { 260 | std::string pstring; 261 | archive( pstring ); 262 | p = pstring; 263 | } 264 | 265 | } 266 | -------------------------------------------------------------------------------- /samples/Cereal/include/Resources.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "cinder/CinderResources.h" 3 | 4 | //#define RES_MY_RES CINDER_RESOURCE( ../resources/, image_name.png, 128, IMAGE ) 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /samples/Cereal/resources/CinderApp.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/resources/CinderApp.icns -------------------------------------------------------------------------------- /samples/Cereal/resources/CinderApp_ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/resources/CinderApp_ios.png -------------------------------------------------------------------------------- /samples/Cereal/resources/cinder_app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/resources/cinder_app_icon.ico -------------------------------------------------------------------------------- /samples/Cereal/src/CerealApp.cpp: -------------------------------------------------------------------------------- 1 | #include "cinder/app/App.h" 2 | #include "cinder/app/RendererGl.h" 3 | #include "cinder/gl/gl.h" 4 | 5 | #include 6 | #include 7 | #include "CinderCereal.h" 8 | 9 | using namespace ci; 10 | using namespace ci::app; 11 | using namespace std; 12 | 13 | // See http://uscilab.github.io/cereal/index.html for more examples 14 | 15 | class CerealApp : public App { 16 | public: 17 | void setup() override 18 | { 19 | // create a JSON archive that output to the console 20 | cereal::JSONOutputArchive archive( console() ); 21 | 22 | // some data to serialize 23 | vector vec = {1, 2, 3, 4, 5}; 24 | vector vecOfVec3 = { vec3(1), vec3(2), vec3(3,4,5) }; 25 | CameraPersp camera( getWindowWidth(), getWindowHeight(), 50.0f, 0.1f, 100.0f ); 26 | fs::path p = getAppPath(); 27 | auto args = getCommandLineArgs(); 28 | 29 | // serialize 30 | archive( vec, CEREAL_NVP(vecOfVec3), CEREAL_NVP(camera), getWindowBounds(), getWindowPos(), getWindowBounds(), p, args ); 31 | 32 | // quit the app 33 | quit(); 34 | } 35 | }; 36 | 37 | CINDER_APP( CerealApp, RendererGl ) 38 | -------------------------------------------------------------------------------- /samples/Cereal/vc2015/Cereal.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2015 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Cereal", "Cereal.vcxproj", "{3E883C6C-CDBF-48AE-B429-324D581605A5}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | Debug|x64 = Debug|x64 11 | Release|x64 = Release|x64 12 | EndGlobalSection 13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 14 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Debug|Win32.ActiveCfg = Debug|Win32 15 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Debug|Win32.Build.0 = Debug|Win32 16 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Release|Win32.ActiveCfg = Release|Win32 17 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Release|Win32.Build.0 = Release|Win32 18 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Debug|x64.ActiveCfg = Debug|x64 19 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Debug|x64.Build.0 = Debug|x64 20 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Release|x64.ActiveCfg = Release|x64 21 | {3E883C6C-CDBF-48AE-B429-324D581605A5}.Release|x64.Build.0 = Release|x64 22 | EndGlobalSection 23 | GlobalSection(SolutionProperties) = preSolution 24 | HideSolutionNode = FALSE 25 | EndGlobalSection 26 | EndGlobal 27 | -------------------------------------------------------------------------------- /samples/Cereal/vc2015/Cereal.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Debug 10 | x64 11 | 12 | 13 | Release 14 | Win32 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | {3E883C6C-CDBF-48AE-B429-324D581605A5} 23 | Cereal 24 | Win32Proj 25 | 8.1 26 | 27 | 28 | 29 | Application 30 | false 31 | v140 32 | Unicode 33 | false 34 | 35 | 36 | Application 37 | false 38 | v140 39 | Unicode 40 | false 41 | 42 | 43 | Application 44 | true 45 | v140 46 | Unicode 47 | 48 | 49 | Application 50 | true 51 | v140 52 | Unicode 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | <_ProjectFileVersion>10.0.30319.1 71 | $(ProjectDir)build\$(Platform)\$(Configuration)\ 72 | $(ProjectDir)build\$(Platform)\$(Configuration)\intermediate\ 73 | true 74 | true 75 | $(ProjectDir)build\$(Platform)\$(Configuration)\ 76 | $(ProjectDir)build\$(Platform)\$(Configuration)\intermediate\ 77 | false 78 | false 79 | 80 | 81 | $(ProjectDir)build\$(Platform)\$(Configuration)\ 82 | $(ProjectDir)build\$(Platform)\$(Configuration)\intermediate\ 83 | 84 | 85 | $(ProjectDir)build\$(Platform)\$(Configuration)\ 86 | $(ProjectDir)build\$(Platform)\$(Configuration)\intermediate\ 87 | 88 | 89 | 90 | Disabled 91 | ..\include;"..\..\..\..\..\include";..\..\..\include;..\..\..\lib\cereal\include 92 | WIN32;_WIN32_WINNT=0x0601;_WINDOWS;NOMINMAX;_DEBUG;%(PreprocessorDefinitions) 93 | true 94 | EnableFastChecks 95 | MultiThreadedDebug 96 | 97 | Level3 98 | EditAndContinue 99 | true 100 | 101 | 102 | "..\..\..\..\..\include";..\include 103 | 104 | 105 | cinder.lib;OpenGL32.lib;%(AdditionalDependencies) 106 | "..\..\..\..\..\lib\msw\$(PlatformTarget)";"..\..\..\..\..\lib\msw\$(PlatformTarget)\$(Configuration)\$(PlatformToolset)" 107 | true 108 | Windows 109 | false 110 | 111 | MachineX86 112 | LIBCMT;LIBCPMT 113 | 114 | 115 | 116 | 117 | Disabled 118 | ..\include;"..\..\..\..\..\include";..\..\..\include;..\..\..\lib\cereal\include 119 | WIN32;_WIN32_WINNT=0x0601;_WINDOWS;NOMINMAX;_DEBUG;%(PreprocessorDefinitions) 120 | EnableFastChecks 121 | MultiThreadedDebug 122 | 123 | Level3 124 | ProgramDatabase 125 | true 126 | 127 | 128 | "..\..\..\..\..\include";..\include 129 | 130 | 131 | cinder.lib;OpenGL32.lib;%(AdditionalDependencies) 132 | "..\..\..\..\..\lib\msw\$(PlatformTarget)";"..\..\..\..\..\lib\msw\$(PlatformTarget)\$(Configuration)\$(PlatformToolset)" 133 | true 134 | Windows 135 | false 136 | 137 | LIBCMT;LIBCPMT 138 | 139 | 140 | 141 | 142 | ..\include;"..\..\..\..\..\include";..\..\..\include;..\..\..\lib\cereal\include 143 | WIN32;_WIN32_WINNT=0x0601;_WINDOWS;NOMINMAX;NDEBUG;%(PreprocessorDefinitions) 144 | MultiThreaded 145 | 146 | Level3 147 | ProgramDatabase 148 | true 149 | 150 | 151 | true 152 | 153 | 154 | "..\..\..\..\..\include";..\include 155 | 156 | 157 | cinder.lib;OpenGL32.lib;%(AdditionalDependencies) 158 | "..\..\..\..\..\lib\msw\$(PlatformTarget)";"..\..\..\..\..\lib\msw\$(PlatformTarget)\$(Configuration)\$(PlatformToolset)" 159 | false 160 | true 161 | Windows 162 | true 163 | 164 | false 165 | 166 | MachineX86 167 | 168 | 169 | 170 | 171 | ..\include;"..\..\..\..\..\include";..\..\..\include;..\..\..\lib\cereal\include 172 | WIN32;_WIN32_WINNT=0x0601;_WINDOWS;NOMINMAX;NDEBUG;%(PreprocessorDefinitions) 173 | MultiThreaded 174 | 175 | Level3 176 | ProgramDatabase 177 | true 178 | 179 | 180 | true 181 | 182 | 183 | "..\..\..\..\..\include";..\include 184 | 185 | 186 | cinder.lib;OpenGL32.lib;%(AdditionalDependencies) 187 | "..\..\..\..\..\lib\msw\$(PlatformTarget)";"..\..\..\..\..\lib\msw\$(PlatformTarget)\$(Configuration)\$(PlatformToolset)" 188 | false 189 | true 190 | Windows 191 | true 192 | 193 | false 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | -------------------------------------------------------------------------------- /samples/Cereal/vc2015/Cereal.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 5 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 6 | 7 | 8 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 9 | h;hpp;hxx;hm;inl;inc;xsd 10 | 11 | 12 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 13 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 14 | 15 | 16 | {A9CB2330-F33F-4990-8243-248BAC0EF789} 17 | 18 | 19 | {C8770EA5-DC1D-4A2D-A181-BA198CC3B8CC} 20 | 21 | 22 | {1ADA9339-64FF-49CF-8452-80E93E497DCC} 23 | 24 | 25 | 26 | 27 | Source Files 28 | 29 | 30 | Source Files 31 | 32 | 33 | Header Files 34 | 35 | 36 | Blocks\Cinder-Cereal\include 37 | 38 | 39 | 40 | 41 | Header Files 42 | 43 | 44 | 45 | 46 | Resource Files 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /samples/Cereal/vc2015/Resources.rc: -------------------------------------------------------------------------------- 1 | #include "../include/Resources.h" 2 | 3 | 1 ICON "..\\resources\\cinder_app_icon.ico" 4 | -------------------------------------------------------------------------------- /samples/Cereal/xcode/Cereal.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 006D720419952D00008149E2 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006D720219952D00008149E2 /* AVFoundation.framework */; }; 11 | 006D720519952D00008149E2 /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006D720319952D00008149E2 /* CoreMedia.framework */; }; 12 | 0091D8F90E81B9330029341E /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0091D8F80E81B9330029341E /* OpenGL.framework */; }; 13 | 00B784B30FF439BC000DE1D7 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B784AF0FF439BC000DE1D7 /* Accelerate.framework */; }; 14 | 00B784B40FF439BC000DE1D7 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B784B00FF439BC000DE1D7 /* AudioToolbox.framework */; }; 15 | 00B784B50FF439BC000DE1D7 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B784B10FF439BC000DE1D7 /* AudioUnit.framework */; }; 16 | 00B784B60FF439BC000DE1D7 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B784B20FF439BC000DE1D7 /* CoreAudio.framework */; }; 17 | 00B9955A1B128DF400A5C623 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B995581B128DF400A5C623 /* IOKit.framework */; }; 18 | 00B9955B1B128DF400A5C623 /* IOSurface.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00B995591B128DF400A5C623 /* IOSurface.framework */; }; 19 | 5323E6B20EAFCA74003A9687 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5323E6B10EAFCA74003A9687 /* CoreVideo.framework */; }; 20 | 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; 21 | CF70712A688E4F1C83D882FE /* CinderCereal.h in Headers */ = {isa = PBXBuildFile; fileRef = 81911DC5DC104203B70D152F /* CinderCereal.h */; }; 22 | 426814AB1B23483C91A0A2BF /* Cereal_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = EDF81046013F415AB4C53DC3 /* Cereal_Prefix.pch */; }; 23 | A26B82CE315945D19897084F /* CinderApp.icns in Resources */ = {isa = PBXBuildFile; fileRef = F08A5898FDD849039BD716BD /* CinderApp.icns */; }; 24 | B228AE992BB04ED7B5DE402F /* Resources.h in Headers */ = {isa = PBXBuildFile; fileRef = 66551C7AD8B943698CCD0840 /* Resources.h */; }; 25 | 3F14914593C24A2DAAE097FF /* CerealApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 76E8CD9E2C11402FA421C233 /* CerealApp.cpp */; }; 26 | /* End PBXBuildFile section */ 27 | 28 | /* Begin PBXFileReference section */ 29 | 006D720219952D00008149E2 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 30 | 006D720319952D00008149E2 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; 31 | 0091D8F80E81B9330029341E /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = ""; }; 32 | 00B784AF0FF439BC000DE1D7 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; 33 | 00B784B00FF439BC000DE1D7 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 34 | 00B784B10FF439BC000DE1D7 /* AudioUnit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioUnit.framework; path = System/Library/Frameworks/AudioUnit.framework; sourceTree = SDKROOT; }; 35 | 00B784B20FF439BC000DE1D7 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; 36 | 00B995581B128DF400A5C623 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; 37 | 00B995591B128DF400A5C623 /* IOSurface.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOSurface.framework; path = System/Library/Frameworks/IOSurface.framework; sourceTree = SDKROOT; }; 38 | 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; 39 | 29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = ""; }; 40 | 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 41 | 5323E6B10EAFCA74003A9687 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = /System/Library/Frameworks/CoreVideo.framework; sourceTree = ""; }; 42 | 8D1107320486CEB800E47090 /* Cereal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Cereal.app; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 76E8CD9E2C11402FA421C233 /* CerealApp.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.cpp; path = ../src/CerealApp.cpp; sourceTree = ""; name = CerealApp.cpp; }; 44 | 66551C7AD8B943698CCD0840 /* Resources.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../include/Resources.h; sourceTree = ""; name = Resources.h; }; 45 | F08A5898FDD849039BD716BD /* CinderApp.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = ../resources/CinderApp.icns; sourceTree = ""; name = CinderApp.icns; }; 46 | 6AED331BD5384AFFBF158DA3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; name = Info.plist; }; 47 | EDF81046013F415AB4C53DC3 /* Cereal_Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = "\"\""; path = Cereal_Prefix.pch; sourceTree = ""; name = Cereal_Prefix.pch; }; 48 | 81911DC5DC104203B70D152F /* CinderCereal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../../../include/CinderCereal.h; sourceTree = ""; name = CinderCereal.h; }; 49 | /* End PBXFileReference section */ 50 | 51 | /* Begin PBXFrameworksBuildPhase section */ 52 | 8D11072E0486CEB800E47090 /* Frameworks */ = { 53 | isa = PBXFrameworksBuildPhase; 54 | buildActionMask = 2147483647; 55 | files = ( 56 | 006D720419952D00008149E2 /* AVFoundation.framework in Frameworks */, 57 | 006D720519952D00008149E2 /* CoreMedia.framework in Frameworks */, 58 | 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, 59 | 0091D8F90E81B9330029341E /* OpenGL.framework in Frameworks */, 60 | 5323E6B20EAFCA74003A9687 /* CoreVideo.framework in Frameworks */, 61 | 00B784B30FF439BC000DE1D7 /* Accelerate.framework in Frameworks */, 62 | 00B784B40FF439BC000DE1D7 /* AudioToolbox.framework in Frameworks */, 63 | 00B784B50FF439BC000DE1D7 /* AudioUnit.framework in Frameworks */, 64 | 00B784B60FF439BC000DE1D7 /* CoreAudio.framework in Frameworks */, 65 | 00B9955A1B128DF400A5C623 /* IOKit.framework in Frameworks */, 66 | 00B9955B1B128DF400A5C623 /* IOSurface.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 080E96DDFE201D6D7F000001 /* Source */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 76E8CD9E2C11402FA421C233 /* CerealApp.cpp */, 77 | ); 78 | name = Source; 79 | sourceTree = ""; 80 | }; 81 | 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { 82 | isa = PBXGroup; 83 | children = ( 84 | 006D720219952D00008149E2 /* AVFoundation.framework */, 85 | 006D720319952D00008149E2 /* CoreMedia.framework */, 86 | 00B784AF0FF439BC000DE1D7 /* Accelerate.framework */, 87 | 00B784B00FF439BC000DE1D7 /* AudioToolbox.framework */, 88 | 00B784B10FF439BC000DE1D7 /* AudioUnit.framework */, 89 | 00B784B20FF439BC000DE1D7 /* CoreAudio.framework */, 90 | 5323E6B10EAFCA74003A9687 /* CoreVideo.framework */, 91 | 0091D8F80E81B9330029341E /* OpenGL.framework */, 92 | 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, 93 | 00B995581B128DF400A5C623 /* IOKit.framework */, 94 | 00B995591B128DF400A5C623 /* IOSurface.framework */, 95 | ); 96 | name = "Linked Frameworks"; 97 | sourceTree = ""; 98 | }; 99 | 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 29B97324FDCFA39411CA2CEA /* AppKit.framework */, 103 | 29B97325FDCFA39411CA2CEA /* Foundation.framework */, 104 | ); 105 | name = "Other Frameworks"; 106 | sourceTree = ""; 107 | }; 108 | 19C28FACFE9D520D11CA2CBB /* Products */ = { 109 | isa = PBXGroup; 110 | children = ( 111 | 8D1107320486CEB800E47090 /* Cereal.app */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 29B97314FDCFA39411CA2CEA /* Cereal */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 01B97315FEAEA392516A2CEA /* Blocks */, 120 | 29B97315FDCFA39411CA2CEA /* Headers */, 121 | 080E96DDFE201D6D7F000001 /* Source */, 122 | 29B97317FDCFA39411CA2CEA /* Resources */, 123 | 29B97323FDCFA39411CA2CEA /* Frameworks */, 124 | 19C28FACFE9D520D11CA2CBB /* Products */, 125 | ); 126 | name = Cereal; 127 | sourceTree = ""; 128 | }; 129 | E57902A1ECBA42C3800EA1BD /* include */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 81911DC5DC104203B70D152F /* CinderCereal.h */, 133 | ); 134 | name = include; 135 | sourceTree = ""; 136 | }; 137 | 39AA6BF569164F32A79C4942 /* Cinder-Cereal */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | E57902A1ECBA42C3800EA1BD /* include */, 141 | ); 142 | name = "Cinder-Cereal"; 143 | sourceTree = ""; 144 | }; 145 | 01B97315FEAEA392516A2CEA /* Blocks */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 39AA6BF569164F32A79C4942 /* Cinder-Cereal */, 149 | ); 150 | name = Blocks; 151 | sourceTree = ""; 152 | }; 153 | 29B97315FDCFA39411CA2CEA /* Headers */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | 66551C7AD8B943698CCD0840 /* Resources.h */, 157 | EDF81046013F415AB4C53DC3 /* Cereal_Prefix.pch */, 158 | ); 159 | name = Headers; 160 | sourceTree = ""; 161 | }; 162 | 29B97317FDCFA39411CA2CEA /* Resources */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | F08A5898FDD849039BD716BD /* CinderApp.icns */, 166 | 6AED331BD5384AFFBF158DA3 /* Info.plist */, 167 | ); 168 | name = Resources; 169 | sourceTree = ""; 170 | }; 171 | 29B97323FDCFA39411CA2CEA /* Frameworks */ = { 172 | isa = PBXGroup; 173 | children = ( 174 | 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, 175 | 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, 176 | ); 177 | name = Frameworks; 178 | sourceTree = ""; 179 | }; 180 | /* End PBXGroup section */ 181 | 182 | /* Begin PBXNativeTarget section */ 183 | 8D1107260486CEB800E47090 /* Cereal */ = { 184 | isa = PBXNativeTarget; 185 | buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Cereal" */; 186 | buildPhases = ( 187 | 8D1107290486CEB800E47090 /* Resources */, 188 | 8D11072C0486CEB800E47090 /* Sources */, 189 | 8D11072E0486CEB800E47090 /* Frameworks */, 190 | ); 191 | buildRules = ( 192 | ); 193 | dependencies = ( 194 | ); 195 | name = Cereal; 196 | productInstallPath = "$(HOME)/Applications"; 197 | productName = Cereal; 198 | productReference = 8D1107320486CEB800E47090 /* Cereal.app */; 199 | productType = "com.apple.product-type.application"; 200 | }; 201 | /* End PBXNativeTarget section */ 202 | 203 | /* Begin PBXProject section */ 204 | 29B97313FDCFA39411CA2CEA /* Project object */ = { 205 | isa = PBXProject; 206 | buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cereal" */; 207 | compatibilityVersion = "Xcode 3.2"; 208 | developmentRegion = English; 209 | hasScannedForEncodings = 1; 210 | knownRegions = ( 211 | English, 212 | Japanese, 213 | French, 214 | German, 215 | ); 216 | mainGroup = 29B97314FDCFA39411CA2CEA /* Cereal */; 217 | projectDirPath = ""; 218 | projectRoot = ""; 219 | targets = ( 220 | 8D1107260486CEB800E47090 /* Cereal */, 221 | ); 222 | }; 223 | /* End PBXProject section */ 224 | 225 | /* Begin PBXResourcesBuildPhase section */ 226 | 8D1107290486CEB800E47090 /* Resources */ = { 227 | isa = PBXResourcesBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | A26B82CE315945D19897084F /* CinderApp.icns in Resources */, 231 | ); 232 | runOnlyForDeploymentPostprocessing = 0; 233 | }; 234 | /* End PBXResourcesBuildPhase section */ 235 | 236 | /* Begin PBXSourcesBuildPhase section */ 237 | 8D11072C0486CEB800E47090 /* Sources */ = { 238 | isa = PBXSourcesBuildPhase; 239 | buildActionMask = 2147483647; 240 | files = ( 241 | 3F14914593C24A2DAAE097FF /* CerealApp.cpp in Sources */, 242 | ); 243 | runOnlyForDeploymentPostprocessing = 0; 244 | }; 245 | /* End PBXSourcesBuildPhase section */ 246 | 247 | /* Begin XCBuildConfiguration section */ 248 | C01FCF4B08A954540054247B /* Debug */ = { 249 | isa = XCBuildConfiguration; 250 | buildSettings = { 251 | COMBINE_HIDPI_IMAGES = YES; 252 | DEAD_CODE_STRIPPING = YES; 253 | COPY_PHASE_STRIP = NO; 254 | GCC_DYNAMIC_NO_PIC = NO; 255 | GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 256 | GCC_OPTIMIZATION_LEVEL = 0; 257 | GCC_PREPROCESSOR_DEFINITIONS = ( 258 | "DEBUG=1", 259 | "$(inherited)", 260 | ); 261 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 262 | GCC_PREFIX_HEADER = Cereal_Prefix.pch; 263 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 264 | INFOPLIST_FILE = Info.plist; 265 | INSTALL_PATH = "$(HOME)/Applications"; 266 | OTHER_LDFLAGS = "\"$(CINDER_PATH)/lib/macosx/$(CONFIGURATION)/libcinder.a\""; 267 | PRODUCT_BUNDLE_IDENTIFIER = "org.libcinder.${PRODUCT_NAME:rfc1034identifier}"; 268 | PRODUCT_NAME = Cereal; 269 | SYMROOT = ./build; 270 | WRAPPER_EXTENSION = app; 271 | }; 272 | name = Debug; 273 | }; 274 | C01FCF4C08A954540054247B /* Release */ = { 275 | isa = XCBuildConfiguration; 276 | buildSettings = { 277 | COMBINE_HIDPI_IMAGES = YES; 278 | DEAD_CODE_STRIPPING = YES; 279 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 280 | GCC_FAST_MATH = YES; 281 | GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 282 | GCC_INLINES_ARE_PRIVATE_EXTERN = YES; 283 | GCC_OPTIMIZATION_LEVEL = 3; 284 | GCC_PREPROCESSOR_DEFINITIONS = ( 285 | "NDEBUG=1", 286 | "$(inherited)", 287 | ); 288 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 289 | GCC_PREFIX_HEADER = Cereal_Prefix.pch; 290 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 291 | INFOPLIST_FILE = Info.plist; 292 | INSTALL_PATH = "$(HOME)/Applications"; 293 | OTHER_LDFLAGS = "\"$(CINDER_PATH)/lib/macosx/$(CONFIGURATION)/libcinder.a\""; 294 | PRODUCT_BUNDLE_IDENTIFIER = "org.libcinder.${PRODUCT_NAME:rfc1034identifier}"; 295 | PRODUCT_NAME = Cereal; 296 | STRIP_INSTALLED_PRODUCT = YES; 297 | SYMROOT = ./build; 298 | WRAPPER_EXTENSION = app; 299 | }; 300 | name = Release; 301 | }; 302 | C01FCF4F08A954540054247B /* Debug */ = { 303 | isa = XCBuildConfiguration; 304 | buildSettings = { 305 | ALWAYS_SEARCH_USER_PATHS = NO; 306 | CINDER_PATH = "../../../../.."; 307 | CLANG_CXX_LANGUAGE_STANDARD = "c++11"; 308 | CLANG_CXX_LIBRARY = "libc++"; 309 | ENABLE_TESTABILITY = YES; 310 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 311 | GCC_WARN_UNUSED_VARIABLE = YES; 312 | HEADER_SEARCH_PATHS = ( 313 | "\"$(CINDER_PATH)/include\"", 314 | ../../../lib/cereal/include, 315 | ); 316 | MACOSX_DEPLOYMENT_TARGET = 10.8; 317 | ONLY_ACTIVE_ARCH = YES; 318 | SDKROOT = macosx; 319 | USER_HEADER_SEARCH_PATHS = ( 320 | "\"$(CINDER_PATH)/include\" ../include", 321 | ../../../include, 322 | ); 323 | }; 324 | name = Debug; 325 | }; 326 | C01FCF5008A954540054247B /* Release */ = { 327 | isa = XCBuildConfiguration; 328 | buildSettings = { 329 | ALWAYS_SEARCH_USER_PATHS = NO; 330 | CINDER_PATH = "../../../../.."; 331 | CLANG_CXX_LANGUAGE_STANDARD = "c++11"; 332 | CLANG_CXX_LIBRARY = "libc++"; 333 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 334 | GCC_WARN_UNUSED_VARIABLE = YES; 335 | HEADER_SEARCH_PATHS = ( 336 | "\"$(CINDER_PATH)/include\"", 337 | ../../../lib/cereal/include, 338 | ); 339 | MACOSX_DEPLOYMENT_TARGET = 10.8; 340 | SDKROOT = macosx; 341 | USER_HEADER_SEARCH_PATHS = ( 342 | "\"$(CINDER_PATH)/include\" ../include", 343 | ../../../include, 344 | ); 345 | }; 346 | name = Release; 347 | }; 348 | /* End XCBuildConfiguration section */ 349 | 350 | /* Begin XCConfigurationList section */ 351 | C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "Cereal" */ = { 352 | isa = XCConfigurationList; 353 | buildConfigurations = ( 354 | C01FCF4B08A954540054247B /* Debug */, 355 | C01FCF4C08A954540054247B /* Release */, 356 | ); 357 | defaultConfigurationIsVisible = 0; 358 | defaultConfigurationName = Release; 359 | }; 360 | C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Cereal" */ = { 361 | isa = XCConfigurationList; 362 | buildConfigurations = ( 363 | C01FCF4F08A954540054247B /* Debug */, 364 | C01FCF5008A954540054247B /* Release */, 365 | ); 366 | defaultConfigurationIsVisible = 0; 367 | defaultConfigurationName = Release; 368 | }; 369 | /* End XCConfigurationList section */ 370 | }; 371 | rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; 372 | } 373 | -------------------------------------------------------------------------------- /samples/Cereal/xcode/Cereal_Prefix.pch: -------------------------------------------------------------------------------- 1 | #if defined( __cplusplus ) 2 | #include "cinder/Cinder.h" 3 | 4 | #include "cinder/app/App.h" 5 | 6 | #include "cinder/gl/gl.h" 7 | 8 | #include "cinder/CinderMath.h" 9 | #include "cinder/Matrix.h" 10 | #include "cinder/Vector.h" 11 | #include "cinder/Quaternion.h" 12 | #endif 13 | -------------------------------------------------------------------------------- /samples/Cereal/xcode/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | CinderApp.icns 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSMinimumSystemVersion 26 | ${MACOSX_DEPLOYMENT_TARGET} 27 | NSHumanReadableCopyright 28 | Copyright © 2015 __MyCompanyName__. All rights reserved. 29 | NSMainNibFile 30 | MainMenu 31 | NSPrincipalClass 32 | NSApplication 33 | 34 | 35 | -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Cereal.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 0087D25512CD809F002CD69F /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0087D25412CD809F002CD69F /* CoreText.framework */; }; 11 | 00CFDF6B1138442D0091E310 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFDF6A1138442D0091E310 /* CoreGraphics.framework */; }; 12 | C725E001121DAC8FFFFA18FF /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFDF6A1138442D0091FFFF /* ImageIO.framework */; }; 13 | DDDDE001121DAC8FFFFADDDD /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DDDDDF6A1138442D0091DDDD /* MobileCoreServices.framework */; }; 14 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; 15 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; 16 | 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; }; 17 | 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; }; 18 | C725DFFE121DAC7F00FA186B /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C727C02B121B400300192073 /* CoreMedia.framework */; settings = { 19 | ATTRIBUTES = ( 20 | Weak, 21 | ); 22 | }; }; 23 | C725E001121DAC8F00FA186B /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C725E000121DAC8F00FA186B /* AVFoundation.framework */; settings = { 24 | ATTRIBUTES = ( 25 | Weak, 26 | ); 27 | }; }; 28 | C727C02E121B400300192073 /* CoreVideo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C727C02D121B400300192073 /* CoreVideo.framework */; settings = { 29 | ATTRIBUTES = ( 30 | Weak, 31 | ); 32 | }; }; 33 | C7FB19D6124BC0D70045AFD2 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C7FB19D5124BC0D70045AFD2 /* AudioToolbox.framework */; }; 34 | 00A66A361965AC8800B17EB3 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00A66A351965AC8800B17EB3 /* Accelerate.framework */; }; 35 | 00748058165D41390024B57A /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 00748057165D41390024B57A /* assets */; }; 36 | F9D5865F6FED4B8789A95744 /* CinderCereal.h in Headers */ = {isa = PBXBuildFile; fileRef = 71DC3DEC63D944E4B77A7750 /* CinderCereal.h */; }; 37 | E425909E8C9E4136819CE967 /* Cereal_Prefix.pch in Headers */ = {isa = PBXBuildFile; fileRef = 3AA78E72E1E34423A1B5764B /* Cereal_Prefix.pch */; }; 38 | 22597903C30B43DEB29A0A78 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = FCB90154F5844B8C95694263 /* LaunchScreen.xib */; }; 39 | F23950969F1D451A985EBE43 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8877644FE77D4B34963CBBD2 /* Images.xcassets */; }; 40 | 1C29D89B09F84E00A2A7E5C5 /* CinderApp_ios.png in Resources */ = {isa = PBXBuildFile; fileRef = B3B2F9A920E74604A7E520E4 /* CinderApp_ios.png */; }; 41 | 5AB065C49DF7412B92AD784B /* Resources.h in Headers */ = {isa = PBXBuildFile; fileRef = 5566F804CBB34CD3A666A396 /* Resources.h */; }; 42 | 0E78B724ECC0416CAF6C83E5 /* CerealApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F5F3B2AA2867413C81B70C85 /* CerealApp.cpp */; }; 43 | /* End PBXBuildFile section */ 44 | 45 | /* Begin PBXFileReference section */ 46 | 00692BCF14FF149000D0A05E /* Cereal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Cereal.app; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 0087D25412CD809F002CD69F /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; }; 48 | 00CFDF6A1138442D0091E310 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 49 | 00CFDF6A1138442D0091FFFF /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = System/Library/Frameworks/ImageIO.framework; sourceTree = SDKROOT; }; 50 | DDDDDF6A1138442D0091DDDD /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; 51 | 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 52 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 53 | 28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; 54 | 28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; 55 | C725E000121DAC8F00FA186B /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; 56 | C727C02B121B400300192073 /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; }; 57 | C727C02D121B400300192073 /* CoreVideo.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreVideo.framework; path = System/Library/Frameworks/CoreVideo.framework; sourceTree = SDKROOT; }; 58 | C7FB19D5124BC0D70045AFD2 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; 59 | 00A66A351965AC8800B17EB3 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = System/Library/Frameworks/Accelerate.framework; sourceTree = SDKROOT; }; 60 | 00748057165D41390024B57A /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = assets; path = ../assets; sourceTree = ""; }; 61 | F5F3B2AA2867413C81B70C85 /* CerealApp.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.cpp; path = ../src/CerealApp.cpp; sourceTree = ""; name = CerealApp.cpp; }; 62 | 5566F804CBB34CD3A666A396 /* Resources.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../include/Resources.h; sourceTree = ""; name = Resources.h; }; 63 | B3B2F9A920E74604A7E520E4 /* CinderApp_ios.png */ = {isa = PBXFileReference; lastKnownFileType = "\"\""; path = ../resources/CinderApp_ios.png; sourceTree = ""; name = CinderApp_ios.png; }; 64 | 8877644FE77D4B34963CBBD2 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = "\"\""; path = Images.xcassets; sourceTree = ""; name = Images.xcassets; }; 65 | FCB90154F5844B8C95694263 /* LaunchScreen.xib */ = {isa = PBXFileReference; lastKnownFileType = "\"\""; path = LaunchScreen.xib; sourceTree = ""; name = LaunchScreen.xib; }; 66 | 147E81A8EAF04FA4BDF903BA /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; name = Info.plist; }; 67 | 3AA78E72E1E34423A1B5764B /* Cereal_Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = "\"\""; path = Cereal_Prefix.pch; sourceTree = ""; name = Cereal_Prefix.pch; }; 68 | 71DC3DEC63D944E4B77A7750 /* CinderCereal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ../../../include/CinderCereal.h; sourceTree = ""; name = CinderCereal.h; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 00692BCC14FF149000D0A05E /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | C725E001121DAC8F00FA186B /* AVFoundation.framework in Frameworks */, 77 | C725DFFE121DAC7F00FA186B /* CoreMedia.framework in Frameworks */, 78 | C725E001121DAC8FFFFA18FF /* ImageIO.framework in Frameworks */, 79 | DDDDE001121DAC8FFFFADDDD /* MobileCoreServices.framework in Frameworks */, 80 | 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, 81 | 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, 82 | 28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */, 83 | 28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */, 84 | 00CFDF6B1138442D0091E310 /* CoreGraphics.framework in Frameworks */, 85 | C727C02E121B400300192073 /* CoreVideo.framework in Frameworks */, 86 | C7FB19D6124BC0D70045AFD2 /* AudioToolbox.framework in Frameworks */, 87 | 00A66A361965AC8800B17EB3 /* Accelerate.framework in Frameworks */, 88 | 0087D25512CD809F002CD69F /* CoreText.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 00692BC414FF149000D0A05E = { 96 | isa = PBXGroup; 97 | children = ( 98 | 99692BD914FF149000DFFFFF /* Blocks */, 99 | 99692BD914FF149000D0A05F /* Headers */, 100 | 00692BD914FF149000D0A05E /* Source */, 101 | 00692BD914FF149000D0FFFF /* Resources */, 102 | 00692BD214FF149000D0A05E /* Frameworks */, 103 | 00692BD014FF149000D0A05E /* Products */, 104 | ); 105 | sourceTree = ""; 106 | }; 107 | 00692BD014FF149000D0A05E /* Products */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 00692BCF14FF149000D0A05E /* Cereal.app */, 111 | ); 112 | name = Products; 113 | sourceTree = ""; 114 | }; 115 | 00692BD214FF149000D0A05E /* Frameworks */ = { 116 | isa = PBXGroup; 117 | children = ( 118 | C7FB19D5124BC0D70045AFD2 /* AudioToolbox.framework */, 119 | 00A66A351965AC8800B17EB3 /* Accelerate.framework */, 120 | C727C02B121B400300192073 /* CoreMedia.framework */, 121 | C727C02D121B400300192073 /* CoreVideo.framework */, 122 | 28FD15070DC6FC5B0079059D /* QuartzCore.framework */, 123 | 28FD14FF0DC6FC520079059D /* OpenGLES.framework */, 124 | 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, 125 | 1D30AB110D05D00D00671497 /* Foundation.framework */, 126 | 00CFDF6A1138442D0091E310 /* CoreGraphics.framework */, 127 | 00CFDF6A1138442D0091FFFF /* ImageIO.framework */, 128 | DDDDDF6A1138442D0091DDDD /* MobileCoreServices.framework */, 129 | C725E000121DAC8F00FA186B /* AVFoundation.framework */, 130 | 0087D25412CD809F002CD69F /* CoreText.framework */, 131 | ); 132 | name = Frameworks; 133 | sourceTree = ""; 134 | }; 135 | E3DE2A4768504AC6A8AA90A1 /* include */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | 71DC3DEC63D944E4B77A7750 /* CinderCereal.h */, 139 | ); 140 | name = include; 141 | sourceTree = ""; 142 | }; 143 | E338952EB3B84F8BB53AFF8E /* Cinder-Cereal */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | E3DE2A4768504AC6A8AA90A1 /* include */, 147 | ); 148 | name = "Cinder-Cereal"; 149 | sourceTree = ""; 150 | }; 151 | 99692BD914FF149000DFFFFF /* Blocks */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | E338952EB3B84F8BB53AFF8E /* Cinder-Cereal */, 155 | ); 156 | name = Blocks; 157 | sourceTree = ""; 158 | }; 159 | 99692BD914FF149000D0A05F /* Headers */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 5566F804CBB34CD3A666A396 /* Resources.h */, 163 | 3AA78E72E1E34423A1B5764B /* Cereal_Prefix.pch */, 164 | ); 165 | name = Headers; 166 | sourceTree = ""; 167 | }; 168 | 00692BD914FF149000D0A05E /* Source */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | F5F3B2AA2867413C81B70C85 /* CerealApp.cpp */, 172 | ); 173 | name = Source; 174 | sourceTree = ""; 175 | }; 176 | 00692BD914FF149000D0FFFF /* Resources */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 00748057165D41390024B57A /* assets */, 180 | B3B2F9A920E74604A7E520E4 /* CinderApp_ios.png */, 181 | 8877644FE77D4B34963CBBD2 /* Images.xcassets */, 182 | FCB90154F5844B8C95694263 /* LaunchScreen.xib */, 183 | 147E81A8EAF04FA4BDF903BA /* Info.plist */, 184 | ); 185 | name = Resources; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXNativeTarget section */ 191 | 00692BCE14FF149000D0A05E /* Cereal */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 00692BF514FF149000D0A05E /* Build configuration list for PBXNativeTarget "Cereal" */; 194 | buildPhases = ( 195 | 00692BCB14FF149000D0A05E /* Sources */, 196 | 00692BCC14FF149000D0A05E /* Frameworks */, 197 | 00692BCD14FF149000D0A05E /* Resources */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | ); 203 | name = Cereal; 204 | productName = Cereal; 205 | productReference = 00692BCF14FF149000D0A05E /* Cereal.app */; 206 | productType = "com.apple.product-type.application"; 207 | }; 208 | /* End PBXNativeTarget section */ 209 | 210 | /* Begin PBXProject section */ 211 | 00692BC614FF149000D0A05E /* Project object */ = { 212 | isa = PBXProject; 213 | buildConfigurationList = 00692BC914FF149000D0A05E /* Build configuration list for PBXProject "Cereal" */; 214 | compatibilityVersion = "Xcode 3.2"; 215 | developmentRegion = English; 216 | hasScannedForEncodings = 0; 217 | knownRegions = ( 218 | en, 219 | ); 220 | mainGroup = 00692BC414FF149000D0A05E; 221 | productRefGroup = 00692BD014FF149000D0A05E /* Products */; 222 | projectDirPath = ""; 223 | projectRoot = ""; 224 | targets = ( 225 | 00692BCE14FF149000D0A05E /* Cereal */, 226 | ); 227 | }; 228 | /* End PBXProject section */ 229 | 230 | /* Begin PBXResourcesBuildPhase section */ 231 | 00692BCD14FF149000D0A05E /* Resources */ = { 232 | isa = PBXResourcesBuildPhase; 233 | buildActionMask = 2147483647; 234 | files = ( 235 | 00748058165D41390024B57A /* assets in Resources */, 236 | 1C29D89B09F84E00A2A7E5C5 /* CinderApp_ios.png in Resources */, 237 | F23950969F1D451A985EBE43 /* Images.xcassets in Resources */, 238 | 22597903C30B43DEB29A0A78 /* LaunchScreen.xib in Resources */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | /* End PBXResourcesBuildPhase section */ 243 | 244 | /* Begin PBXSourcesBuildPhase section */ 245 | 00692BCB14FF149000D0A05E /* Sources */ = { 246 | isa = PBXSourcesBuildPhase; 247 | buildActionMask = 2147483647; 248 | files = ( 249 | 0E78B724ECC0416CAF6C83E5 /* CerealApp.cpp in Sources */, 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | }; 253 | /* End PBXSourcesBuildPhase section */ 254 | 255 | /* Begin XCBuildConfiguration section */ 256 | 00692BF314FF149000D0A05E /* Debug */ = { 257 | isa = XCBuildConfiguration; 258 | buildSettings = { 259 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "LaunchImage"; 260 | DEAD_CODE_STRIPPING = YES; 261 | CLANG_CXX_LANGUAGE_STANDARD = "c++11"; 262 | CLANG_CXX_LIBRARY = "libc++"; 263 | ARCHS = "armv7 arm64"; 264 | ALWAYS_SEARCH_USER_PATHS = NO; 265 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 266 | COPY_PHASE_STRIP = NO; 267 | GCC_C_LANGUAGE_STANDARD = gnu99; 268 | GCC_DYNAMIC_NO_PIC = NO; 269 | GCC_OPTIMIZATION_LEVEL = 0; 270 | GCC_PREPROCESSOR_DEFINITIONS = ( 271 | "DEBUG=1", 272 | "$(inherited)", 273 | ); 274 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 275 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 276 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 277 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 278 | GCC_WARN_UNUSED_VARIABLE = YES; 279 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 280 | SDKROOT = iphoneos; 281 | TARGETED_DEVICE_FAMILY = "1,2"; 282 | CINDER_PATH = "../../../../.."; 283 | HEADER_SEARCH_PATHS = ( 284 | "\"$(CINDER_PATH)/include\"", 285 | ../../../lib/cereal/include, 286 | ); 287 | USER_HEADER_SEARCH_PATHS = ( 288 | "\"$(CINDER_PATH)/include\" ../include", 289 | ../../../include, 290 | ); 291 | }; 292 | name = Debug; 293 | }; 294 | 00692BF414FF149000D0A05E /* Release */ = { 295 | isa = XCBuildConfiguration; 296 | buildSettings = { 297 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "LaunchImage"; 298 | DEAD_CODE_STRIPPING = YES; 299 | CLANG_CXX_LANGUAGE_STANDARD = "c++11"; 300 | CLANG_CXX_LIBRARY = "libc++"; 301 | ALWAYS_SEARCH_USER_PATHS = NO; 302 | ARCHS = "$(ARCHS_STANDARD)"; 303 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 304 | COPY_PHASE_STRIP = YES; 305 | GCC_C_LANGUAGE_STANDARD = gnu99; 306 | GCC_PREPROCESSOR_DEFINITIONS = ( 307 | "NDEBUG=1", 308 | "$(inherited)", 309 | ); 310 | GCC_VERSION = com.apple.compilers.llvm.clang.1_0; 311 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; 312 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 313 | GCC_WARN_UNUSED_VARIABLE = YES; 314 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 315 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; 316 | SDKROOT = iphoneos; 317 | TARGETED_DEVICE_FAMILY = "1,2"; 318 | VALIDATE_PRODUCT = YES; 319 | CINDER_PATH = "../../../../.."; 320 | HEADER_SEARCH_PATHS = ( 321 | "\"$(CINDER_PATH)/include\"", 322 | ../../../lib/cereal/include, 323 | ); 324 | USER_HEADER_SEARCH_PATHS = ( 325 | "\"$(CINDER_PATH)/include\" ../include", 326 | ../../../include, 327 | ); 328 | }; 329 | name = Release; 330 | }; 331 | 00692BF614FF149000D0A05E /* Debug */ = { 332 | isa = XCBuildConfiguration; 333 | buildSettings = { 334 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 335 | GCC_PREFIX_HEADER = "Cereal_Prefix.pch"; 336 | INFOPLIST_FILE = "Info.plist"; 337 | PRODUCT_NAME = "$(TARGET_NAME)"; 338 | WRAPPER_EXTENSION = app; 339 | "OTHER_LDFLAGS[sdk=iphoneos*][arch=*]" = ( 340 | "\"$(CINDER_PATH)/lib/ios/$(CONFIGURATION)/libcinder.a\"", 341 | "-lz", 342 | ); 343 | "OTHER_LDFLAGS[sdk=iphonesimulator*][arch=*]" = ( 344 | "\"$(CINDER_PATH)/lib/ios-sim/$(CONFIGURATION)/libcinder.a\"", 345 | "-lz", 346 | ); 347 | }; 348 | name = Debug; 349 | }; 350 | 00692BF714FF149000D0A05E /* Release */ = { 351 | isa = XCBuildConfiguration; 352 | buildSettings = { 353 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 354 | GCC_PREFIX_HEADER = "Cereal_Prefix.pch"; 355 | INFOPLIST_FILE = "Info.plist"; 356 | PRODUCT_NAME = "$(TARGET_NAME)"; 357 | WRAPPER_EXTENSION = app; 358 | "OTHER_LDFLAGS[sdk=iphoneos*][arch=*]" = ( 359 | "\"$(CINDER_PATH)/lib/ios/$(CONFIGURATION)/libcinder.a\"", 360 | "-lz", 361 | ); 362 | "OTHER_LDFLAGS[sdk=iphonesimulator*][arch=*]" = ( 363 | "\"$(CINDER_PATH)/lib/ios-sim/$(CONFIGURATION)/libcinder.a\"", 364 | "-lz", 365 | ); 366 | }; 367 | name = Release; 368 | }; 369 | /* End XCBuildConfiguration section */ 370 | 371 | /* Begin XCConfigurationList section */ 372 | 00692BC914FF149000D0A05E /* Build configuration list for PBXProject "Cereal" */ = { 373 | isa = XCConfigurationList; 374 | buildConfigurations = ( 375 | 00692BF314FF149000D0A05E /* Debug */, 376 | 00692BF414FF149000D0A05E /* Release */, 377 | ); 378 | defaultConfigurationIsVisible = 0; 379 | defaultConfigurationName = Release; 380 | }; 381 | 00692BF514FF149000D0A05E /* Build configuration list for PBXNativeTarget "Cereal" */ = { 382 | isa = XCConfigurationList; 383 | buildConfigurations = ( 384 | 00692BF614FF149000D0A05E /* Debug */, 385 | 00692BF714FF149000D0A05E /* Release */, 386 | ); 387 | defaultConfigurationIsVisible = 0; 388 | defaultConfigurationName = Release; 389 | }; 390 | /* End XCConfigurationList section */ 391 | }; 392 | rootObject = 00692BC614FF149000D0A05E /* Project object */; 393 | } 394 | -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Cereal_Prefix.pch: -------------------------------------------------------------------------------- 1 | #if defined( __cplusplus ) 2 | #include "cinder/Cinder.h" 3 | 4 | #include "cinder/app/App.h" 5 | 6 | #include "cinder/gl/gl.h" 7 | 8 | #include "cinder/CinderMath.h" 9 | #include "cinder/Matrix.h" 10 | #include "cinder/Vector.h" 11 | #include "cinder/Quaternion.h" 12 | #endif -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "8.0", 8 | "subtype" : "736h", 9 | "filename" : "Default-736h@3x~iphone.png", 10 | "scale" : "3x" 11 | }, 12 | { 13 | "orientation" : "landscape", 14 | "idiom" : "iphone", 15 | "extent" : "full-screen", 16 | "minimum-system-version" : "8.0", 17 | "subtype" : "736h", 18 | "scale" : "3x" 19 | }, 20 | { 21 | "extent" : "full-screen", 22 | "idiom" : "iphone", 23 | "subtype" : "667h", 24 | "filename" : "Default-667@2x.png", 25 | "minimum-system-version" : "8.0", 26 | "orientation" : "portrait", 27 | "scale" : "2x" 28 | }, 29 | { 30 | "orientation" : "portrait", 31 | "idiom" : "iphone", 32 | "extent" : "full-screen", 33 | "minimum-system-version" : "7.0", 34 | "scale" : "2x" 35 | }, 36 | { 37 | "extent" : "full-screen", 38 | "idiom" : "iphone", 39 | "subtype" : "retina4", 40 | "filename" : "Default-568h@2x.png", 41 | "minimum-system-version" : "7.0", 42 | "orientation" : "portrait", 43 | "scale" : "2x" 44 | }, 45 | { 46 | "orientation" : "portrait", 47 | "idiom" : "ipad", 48 | "extent" : "full-screen", 49 | "minimum-system-version" : "7.0", 50 | "scale" : "1x" 51 | }, 52 | { 53 | "orientation" : "landscape", 54 | "idiom" : "ipad", 55 | "extent" : "full-screen", 56 | "minimum-system-version" : "7.0", 57 | "scale" : "1x" 58 | }, 59 | { 60 | "orientation" : "portrait", 61 | "idiom" : "ipad", 62 | "extent" : "full-screen", 63 | "minimum-system-version" : "7.0", 64 | "scale" : "2x" 65 | }, 66 | { 67 | "orientation" : "landscape", 68 | "idiom" : "ipad", 69 | "extent" : "full-screen", 70 | "minimum-system-version" : "7.0", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "orientation" : "portrait", 75 | "idiom" : "iphone", 76 | "extent" : "full-screen", 77 | "scale" : "1x" 78 | }, 79 | { 80 | "orientation" : "portrait", 81 | "idiom" : "iphone", 82 | "extent" : "full-screen", 83 | "scale" : "2x" 84 | }, 85 | { 86 | "orientation" : "portrait", 87 | "idiom" : "iphone", 88 | "extent" : "full-screen", 89 | "filename" : "Default-568h@2x.png", 90 | "subtype" : "retina4", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "orientation" : "portrait", 95 | "idiom" : "ipad", 96 | "extent" : "to-status-bar", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "orientation" : "portrait", 101 | "idiom" : "ipad", 102 | "extent" : "to-status-bar", 103 | "scale" : "2x" 104 | } 105 | ], 106 | "info" : { 107 | "version" : 1, 108 | "author" : "xcode" 109 | } 110 | } -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-667@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-667@2x.png -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-736h@3x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simongeilfus/Cinder-Cereal/3c650da93519c2b511044de620247222d804c7d2/samples/Cereal/xcode_ios/Images.xcassets/LaunchImage.launchimage/Default-736h@3x~iphone.png -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | UILaunchStoryboardName 8 | LaunchScreen.xib 9 | CFBundleDisplayName 10 | ${PRODUCT_NAME} 11 | CFBundleExecutable 12 | ${EXECUTABLE_NAME} 13 | CFBundleIconFile 14 | 15 | CFBundleIcons 16 | 17 | CFBundlePrimaryIcon 18 | 19 | CFBundleIconFiles 20 | 21 | 22 | CinderApp_ios.png 23 | 24 | UIPrerenderedIcon 25 | 26 | 27 | 28 | CFBundleIdentifier 29 | org.libcinder.${PRODUCT_NAME:rfc1034identifier} 30 | CFBundleInfoDictionaryVersion 31 | 6.0 32 | CFBundleName 33 | ${PRODUCT_NAME} 34 | CFBundlePackageType 35 | APPL 36 | CFBundleShortVersionString 37 | 1.0 38 | CFBundleSignature 39 | ???? 40 | CFBundleVersion 41 | 1 42 | LSRequiresIPhoneOS 43 | 44 | NSMainNibFile 45 | 46 | NSMainNibFile~ipad 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | 52 | UISupportedInterfaceOrientations~ipad 53 | 54 | UIInterfaceOrientationPortrait 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /samples/Cereal/xcode_ios/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | --------------------------------------------------------------------------------