 Common Package Specification: Getting Build Tools to Talk to Each Other"network": { … "requires": ["openssl::ssl"] } "mygame": { … "requires": ["network", "engine"] } "engine": { … "requires": ["openssl::crypto"] } "ssl": { "libs": ["libssl"], "requires": ["crypto"] ["zlib::zlib"], } network.cps engine.cps openssl.cps ✔What is a component? 43 "network": { … "requires": ["zlib::static"] } "mygame": { … "requires": ["network", "engine"] } "static": { "libs": "libs": ["zlib.a"], }, "dynamic": { "libs": ["zlib.so"], } network.cps engine.cps zlib.cps X "engine": { … "requires": ["zlib::dynamic"] }What is a component? 44 "network": { … "requires":0 码力 | 94 页 | 1.58 MB | 6 月前3 Common Package Specification: Getting Build Tools to Talk to Each Other"network": { … "requires": ["openssl::ssl"] } "mygame": { … "requires": ["network", "engine"] } "engine": { … "requires": ["openssl::crypto"] } "ssl": { "libs": ["libssl"], "requires": ["crypto"] ["zlib::zlib"], } network.cps engine.cps openssl.cps ✔What is a component? 43 "network": { … "requires": ["zlib::static"] } "mygame": { … "requires": ["network", "engine"] } "static": { "libs": "libs": ["zlib.a"], }, "dynamic": { "libs": ["zlib.so"], } network.cps engine.cps zlib.cps X "engine": { … "requires": ["zlib::dynamic"] }What is a component? 44 "network": { … "requires":0 码力 | 94 页 | 1.58 MB | 6 月前3
 Dependency Injection in C++bool commit(...) override; TestCalcEngine bool process(CalcEngine& engine, ...) { // ... engine.apply(...); // ... return engine.calculate(...); } Testing InjectionBloomberg 22 Dependency Injection override; bool commit(...) override; bool process(CalcEngineIntface& engine, ...) { // ... engine.apply(...); // ... return engine.calculate(...); } TestCalcEngine TestCalcEngine MOCK_METHOD(bool, execute templatestemplate Dependency Injection in C++bool commit(...) override; TestCalcEngine bool process(CalcEngine& engine, ...) { // ... engine.apply(...); // ... return engine.calculate(...); } Testing InjectionBloomberg 22 Dependency Injection override; bool commit(...) override; bool process(CalcEngineIntface& engine, ...) { // ... engine.apply(...); // ... return engine.calculate(...); } TestCalcEngine TestCalcEngine MOCK_METHOD(bool, execute templatestemplate- bool process(CalcEngine& engine) { // ... engine.apply(rdata); rdata.data_ = "2"; // ... return engine.calculate(rdata); } struct RealCalcEngine { RealCalcEngine(. 0 码力 | 106 页 | 1.76 MB | 6 月前3
 Secrets of C++ Scripting Bindings@le�icus emptycrate.com/idocpp Why This Talk? ~2006 - I started looking at embedding scripting engine in C++ Learned about SWIG Learned that Python is wrong for embedding (Global state), chose Lua ChaiScript Header-only scripting engine designed for embedding in C++ 7 . 2Copyright Jason Turner @le�icus emptycrate.com/idocpp ChaiScript Header-only scripting engine designed for embedding in C++ Automatic deduction 7 . 2Copyright Jason Turner @le�icus emptycrate.com/idocpp ChaiScript Header-only scripting engine designed for embedding in C++ Automatic function / type deduction Native script function <-> C++0 码力 | 177 页 | 1.65 MB | 6 月前3 Secrets of C++ Scripting Bindings@le�icus emptycrate.com/idocpp Why This Talk? ~2006 - I started looking at embedding scripting engine in C++ Learned about SWIG Learned that Python is wrong for embedding (Global state), chose Lua ChaiScript Header-only scripting engine designed for embedding in C++ 7 . 2Copyright Jason Turner @le�icus emptycrate.com/idocpp ChaiScript Header-only scripting engine designed for embedding in C++ Automatic deduction 7 . 2Copyright Jason Turner @le�icus emptycrate.com/idocpp ChaiScript Header-only scripting engine designed for embedding in C++ Automatic function / type deduction Native script function <-> C++0 码力 | 177 页 | 1.65 MB | 6 月前3
 Conan 2.0 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These Release 2.0.17 engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 652 页 | 4.00 MB | 1 年前3 Conan 2.0 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These Release 2.0.17 engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 652 页 | 4.00 MB | 1 年前3
 Conan 2.1 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These Release 2.1.0 engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 694 页 | 4.13 MB | 1 年前3 Conan 2.1 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These Release 2.1.0 engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 694 页 | 4.13 MB | 1 年前3
 Conan 2.5 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 769 页 | 4.70 MB | 1 年前3 Conan 2.5 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 769 页 | 4.70 MB | 1 年前3
 What's New in Visual Studio 2022235 592 324 1009 915 505 272 878 1059 2886 0 500 1000 1500 2000 2500 3000 3500 Unreal Engine 5 TensorFlow Blender AAA Game 3 AAA Game 2 AAA Game 1 Time in Seconds (Lower is better) VS (Lower is better) 1.27X Faster! Debug Launch Performance for All Projects Measured on Unreal Engine 5 Visit https://aka.ms/cpp/VSPerformance for more detailsIn Visual Studio 2022 version 17.5, Improved Coming SoonUnreal Engine IntegrationsFirst-class Unreal Engine support • Superior editing and debugging experience • Simplifies code management • Stay focused on your code • Unreal Engine tools now ever0 码力 | 55 页 | 3.27 MB | 6 月前3 What's New in Visual Studio 2022235 592 324 1009 915 505 272 878 1059 2886 0 500 1000 1500 2000 2500 3000 3500 Unreal Engine 5 TensorFlow Blender AAA Game 3 AAA Game 2 AAA Game 1 Time in Seconds (Lower is better) VS (Lower is better) 1.27X Faster! Debug Launch Performance for All Projects Measured on Unreal Engine 5 Visit https://aka.ms/cpp/VSPerformance for more detailsIn Visual Studio 2022 version 17.5, Improved Coming SoonUnreal Engine IntegrationsFirst-class Unreal Engine support • Superior editing and debugging experience • Simplifies code management • Stay focused on your code • Unreal Engine tools now ever0 码力 | 55 页 | 3.27 MB | 6 月前3
 Conan 2.3 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 748 页 | 4.65 MB | 1 年前3 Conan 2.3 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 748 页 | 4.65 MB | 1 年前3
 Conan 2.2 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 718 页 | 4.46 MB | 1 年前3 Conan 2.2 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 718 页 | 4.46 MB | 1 年前3
 Conan 2.4 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 769 页 | 4.69 MB | 1 年前3 Conan 2.4 Documentationconsisting in 3 packages: a matrix package, emulating some mathematical library, an engine package emulating some game engine, and a sound32 package, emulating a sound library for some 32bits systems. These of lockfiles. engine/1.0 matrix/1.0 sound32/1.0 if arch==x86 We will start by creating the first matrix/1.0 version: $ conan create matrix --version=1.0 Now we can check in the engine folder its recipe: recipe: class Engine(ConanFile): name = "engine" settings = "arch" def requirements(self): self.requires("matrix/[>=1.0 <2.0]") if self.settings.arch == "x86": self.requires("sound32/[>=1.0 <2.0]")0 码力 | 769 页 | 4.69 MB | 1 年前3
共 113 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12














