C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南CMake # 现代 CMake 模块化项目管理指南 彭于斌 (@archibate) 课件 & 源码:https://github.com/parallel101/course 往期录播:https://space.bilibili.com/263032155 ## 第一章:文件 / 目录组织规范 基于 CMake 的 C/C++ 项目,如何优雅地、模块化地组织大量源文件? ## 推荐的目录组织方式 目录组织格式: • 项目名 /include/ 项目名 / 模块名 .h • 项目名 /src/ 模块名 .cpp • CMakeLists.txt 中写: • target include directories(项目名 PUBLIC include) • 源码文件中写: • #include < 项目名 / 模块名 .h> • 项目名:: 函数名 (); ## 推荐的目录组织方式 推荐的目录组织方式 - 头文件(项目名 /include/ 项目名 / 模块名 .h)中写: • #pragma once • namespace 项目名 { • void 函数名(); • } • 实现文件(项目名 /src/ 模块名 .cpp)中写: • #include < 项目名 / 模块名 .h> • namespace 项目名 { • void 函数名 () {0 码力 | 56 页 | 6.87 MB | 2 年前3
Spring Boot 1.5.6.RELEASE Reference Guidesystems ..... 24 13.1. Dependency management ..... 24 13.2. Maven ..... 24 Inheriting the starter parent ..... 24 Using Spring Boot without the parent POM ..... 25 Changing the Java version SpEL expression conditions ..... 160 44.4. Creating your own starter ..... 160 Naming ..... 160 Autoconfigure module ..... 161 Starter module ..... 161 45. What to read next ..... 162 spring Boot org.springframework.boot.groupId. Typically your Maven POM file will inherit from the spring-boot-starter-parent project and declare dependencies to one or more "Starters". Spring Boot also provides0 码力 | 377 页 | 1.97 MB | 2 年前3
Spring Boot 2.3.0.M4 Reference Documentation Systems ..... 19 3.1.1. Dependency Management ..... 19 3.1.2. Maven ..... 19 Inheriting the Starter Parent ..... 20 Using Spring Boot without the Parent POM ..... 20 Using the Spring Boot Overriding the Classpath 214 4.29.5. Creating Your Own Starter 214 Naming 214 Configuration keys 215 autoconfigure Module 216 Starter Module 216 4.30. Kotlin support 217 4.30.1. Requirements the org.springframework.boot.groupId.Typically, your Maven POM file inherits from the spring-boot-starter-parent project and declares dependencies to one or more "Starters". Spring Boot also provides0 码力 | 537 页 | 11.55 MB | 2 年前3
Spring Boot 1.4.0.M2 Reference Documentation systems ..... 24 13.1. Dependency management ..... 24 13.2. Maven ..... 24 Inheriting the starter parent ..... 24 Using Spring Boot without the parent POM ..... 25 Changing the Java version Using the Spring Boot Maven plugin ..... 26 13.3. Gradle ..... 26 13.4. Ant ..... 27 13.5. Starter POMs ..... 28 14. Structuring your code ..... 33 14.1. Using the "default" package . SpEL expression conditions ..... 139 41.4. Creating your own starter ..... 139 Naming ..... 139 Autoconfigure module ..... 139 Starter module ..... 140 42. WebSockets ..... 141 43. What to read0 码力 | 328 页 | 1.74 MB | 2 年前3
Spring Boot 1.4.1.RELEASE Reference Documentationsystems ..... 24 13.1. Dependency management ..... 24 13.2. Maven ..... 24 Inheriting the starter parent ..... 25 Using Spring Boot without the parent POM ..... 25 Changing the Java version SpEL expression conditions ..... 151 43.4. Creating your own starter ..... 151 Naming ..... 151 Autoconfigure module ..... 151 Starter module ..... 152 44. What to read next ..... 153 Spring Boot org.springframework.boot.groupId. Typically your Maven POM file will inherit from the spring-boot-starter-parent project and declare dependencies to one or more "Starters". Spring Boot also provides0 码力 | 349 页 | 1.85 MB | 2 年前3
Spring Boot 1.5.21.RELEASE Reference Documentation systems ..... 24 13.1. Dependency management ..... 24 13.2. Maven ..... 24 Inheriting the starter parent ..... 24 Using Spring Boot without the parent POM ..... 25 Changing the Java version SpEL expression conditions ..... 162 44.4. Creating your own starter ..... 162 Naming ..... 162 Autoconfigure module ..... 163 Starter module ..... 163 45. What to read next ..... 164 spring Boot org.springframework.boot.groupId. Typically your Maven POM file will inherit from the spring-boot-starter-parent project and declare dependencies to one or more "Starters". Spring Boot also provides0 码力 | 386 页 | 2.00 MB | 2 年前3
Spring Boot 1.2.0.RELEASE Reference Documentation Using Spring Boot ..... 23 13. Build systems ..... 24 13.1. Maven ..... 24 Inheriting the starter parent ..... 24 Using Spring Boot without the parent POM ..... 24 Changing the Java version Using the Spring Boot Maven plugin ..... 25 13.2. Gradle ..... 25 13.3. Ant ..... 26 13.4. Starter POMs ..... 26 14. Structuring your code ..... 29 14.1. Using the "default" package . actually start using Spring Boot? We've got you covered. • Build systems: Maven | Gradle | Ant | Starter POMs • Best practices: Code Structure | @Configuration | @EnableAutoConfiguration | Beans and Dependency0 码力 | 218 页 | 1.14 MB | 2 年前3
Beautiful Native Mobile Apps with NativeScript and OpenEdge6065d699a1ad2e19b/p1_1.jpg) ## Agenda OpenEdge Data Service Architecture JSDO DataSource ☐ Starter Template ■ Demo ■ Next Steps ## Progress $ ^{®} $ OpenEdge $ ^{®} $  ## Starter Template ☑ Create using: • tns createShare Data Service support for web and mobile apps New DataSource component for NativeScript ☑ Starter Template with sample code Use NativeScript UI components to enhance your mobile apps ## Thank You 0 码力 | 27 页 | 1.54 MB | 2 年前3
Spring Boot 3.0.0-M4 Reference GuideClasspath ..... 212 7.9.5. Creating Your Own Starter ..... 212 Naming ..... 213 Configuration keys ..... 213 The "autoconfigure" Module ..... 215 Starter Module ..... 217 7.10. Kotlin support the org.springframework.boot.groupId.Typically, your Maven POM file inherits from the spring-boot-starter-parent project and declares dependencies to one or more "Starters". Spring Boot also provides first. You can shortcut the steps below by going to start.spring.io and choosing the "Web" starter from the dependencies searcher. Doing so generates a new project structure so that you can start0 码力 | 832 页 | 14.77 MB | 2 年前3
Spring Boot 1.4.3.RELEASE Reference GuideSpring Boot 13. Build systems - Dependency management - Maven - Inheriting the starter parent Using Spring Boot without the parent POM Changing the Java version Using the Spring Boot application conditions SpEL expression conditions Creating your own starter Naming Autoconfigure module Starter module 44. What to read next V. Spring Boot Actuator: Production-ready org.springframework.boot.groupId. Typically your Maven POM file will inherit from the spring-boot-starter-parent project and declare dependencies to one or more "Starters". Spring Boot also provides0 码力 | 562 页 | 503.03 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













