Testing Compile-time Constructs Within a Runtime Unit Testing Framework
0 码力 | 50 页 | 1.37 MB | 5 月前3《深入浅出MFC》2/e
his back i 读者来函 新竹市. 高翠路. 刘嘉均 1996 年11 月,我在书店看到了深入浅出MFC 这本书,让我想起自己曾经暗暗告诉过自 己:Application Framework 真是一个好东西。我在书店驻足察看这本书五分钟之后,我便知 道这本书是一定要买下的。适巧我工作上的项目进度也到了一个即将完成的阶度,所以我便 一口气将这本书给读完了,而且是彻彻底底读了两遍。 的processor。所以,我对Intel 8086, 8051 系列及Motorola 68000 系列的assembly 语言比较熟悉,而对framework 这样的软件 制造思想和手段一直并不熟悉。近来偶有机会加入一个project,要生成在Win95 下运行的 代码,因此,想尝试一下使用framework 构造软件。很幸运,我找到了您的书。讲VC++ MFC 的书很多,但能像您这样做到「深入浅出」的,实在很少。看您的书,是享受。我手里这本 API 函数后,结合MFC 框架编程? 侯俊杰回复:的确如此。MFC 其实就是把Windows API 做了一层薄薄包装,包装于各个设 计良好的classes 而已。所以,掌握了MFC framework 架构组织之后,接下来在programming 实务方面,就是去了解并运用各个classes,而各个classes 的member functions 有许多就是 Windows APIs0 码力 | 1009 页 | 11.08 MB | 1 年前3Conan 1.20 Documentation
libraries One example of a build requirement could be a testing framework, which is implemented as a library. Let’s call it mytest_framework, an existing Conan package. Build requirements can be checked with the following build() method: def build(self): cmake = CMake(self) enable_testing = "mytest_framework" in self.deps_cpp_info.deps cmake.configure(defs={"ENABLE_TESTING": enable_testing}) cmake.build() the mytest_framework nor build the tests, for normal installation: $ conan install . But if the following profile is defined: Listing 2: mytest_profile [build_requires] mytest_framework/0.1@user/channel0 码力 | 611 页 | 4.89 MB | 1 年前3Conan 1.19 Documentation
libraries One example of a build requirement could be a testing framework, which is implemented as a library. Let’s call it mytest_framework, an existing Conan package. Build requirements can be checked with the following build() method: def build(self): cmake = CMake(self) enable_testing = "mytest_framework" in self.deps_cpp_info.deps cmake.configure(defs={"ENABLE_TESTING": enable_testing}) cmake.build() the mytest_framework nor build the tests, for normal installation: $ conan install . But if the following profile is defined: Listing 2: mytest_profile [build_requires] mytest_framework/0.1@user/channel0 码力 | 609 页 | 4.88 MB | 1 年前3Conan 1.21 Documentation
libraries One example of a build requirement could be a testing framework, which is implemented as a library. Let’s call it mytest_framework, an existing Conan package. Build requirements can be checked with the following build() method: def build(self): cmake = CMake(self) enable_testing = "mytest_framework" in self.deps_cpp_info.deps cmake.configure(defs={"ENABLE_TESTING": enable_testing}) cmake.build() the mytest_framework nor build the tests, for normal installation: $ conan install . But if the following profile is defined: Listing 2: mytest_profile [build_requires] mytest_framework/0.1@user/channel0 码力 | 621 页 | 4.92 MB | 1 年前3Conan 1.22 Documentation
libraries One example of a build requirement could be a testing framework, which is implemented as a library. Let’s call it mytest_framework, an existing Conan package. Build requirements can be checked with the following build() method: def build(self): cmake = CMake(self) enable_testing = "mytest_framework" in self.deps_cpp_info.deps cmake.configure(defs={"ENABLE_TESTING": enable_testing}) cmake.build() the mytest_framework nor build the tests, for normal installation: $ conan install . But if the following profile is defined: Listing 2: mytest_profile [build_requires] mytest_framework/0.1@user/channel0 码力 | 629 页 | 4.98 MB | 1 年前3Conan 1.23 Documentation
libraries One example of a build requirement could be a testing framework, which is implemented as a library. Let’s call it mytest_framework, an existing Conan package. Build requirements can be checked with the following build() method: def build(self): cmake = CMake(self) enable_testing = "mytest_framework" in self.deps_cpp_info.deps cmake.configure(defs={"ENABLE_TESTING": enable_testing}) cmake.build() the mytest_framework nor build the tests, for normal installation: $ conan install . But if the following profile is defined: Listing 2: mytest_profile [build_requires] mytest_framework/0.1@user/channel0 码力 | 637 页 | 5.04 MB | 1 年前3Conan 1.26 Documentation
the graph (with conan info --graph). 8.3.4 Example: testing framework and build tool One example of build requirement is a testing framework implemented as a library, another good example is a build tool tool used in the compile process. Let’s call them mytest_framework and cmake_turbo, and imagine we already have a package available for both of them. Build requirements can be checked for existence (whether method: def build_requirements(self): if self.options.enable_testing: self.build_requires("mytest_framework/0.1@user/channel", force_host_context=True) def build(self): # Use our own 'cmake_turbo' if it0 码力 | 669 页 | 5.51 MB | 1 年前3Conan 1.25 Documentation
the graph (with conan info --graph). 8.3.4 Example: testing framework and build tool One example of build requirement is a testing framework implemented as a library, another good example is a build tool tool used in the compile process. Let’s call them mytest_framework and cmake_turbo, and imagine we already have a package available for both of them. Build requirements can be checked for existence (whether method: def build_requirements(self): if self.options.enable_testing: self.build_requires("mytest_framework/0.1@user/channel", force_host_context=True) def build(self): # Use our own 'cmake_turbo' if it0 码力 | 655 页 | 5.45 MB | 1 年前3Conan 1.29 Documentation
the graph (with conan info --graph). 8.3.4 Example: testing framework and build tool One example of build requirement is a testing framework implemented as a library, another good example is a build tool tool used in the compile process. Let’s call them mytest_framework and cmake_turbo, and imagine we already have a package available for both of them. Build requirements can be checked for existence (whether method: def build_requirements(self): if self.options.enable_testing: self.build_requires("mytest_framework/0.1@user/channel", force_host_context=True) def build(self): # Use our own 'cmake_turbo' if it0 码力 | 703 页 | 5.41 MB | 1 年前3
共 122 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13