应用 waPC (rust) 做软件测试工具
Unknown waPC &[u8] Result,error > Linux x86_64, macOS x86_64 ,Wi ndows x86_64, … cargo build —target wasm- unknown-unknown waPC Host (Go) waPC Guest Rust • Read wasm file • Select engine waPC • Use wapc_init to register function • _start also can • Util Lib uses wapc_init, users build on top of ”_start” extern crate wapc_guest as guest; extern crate Regex; ... fn echo_req_json(msg: insert(“request”.into(),request); reg.insert(“request_marshalling”.into(),request_marshalli ng); reg.insert(“response_marshalling”.into(),response_marsh alling); } 自动化 HTTP 请求例子 自动化测试以循环方式执行 0 码力 | 30 页 | 2.50 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南
0 章:命令行小技巧 传统的 CMake 软件构建 / 安装方式 • mkdir build • cd build • cmake .. • make -j4 • sudo make install • cd .. • 需要先创建 build 目录 • 切换到 build 目录 • 在 build 目录运行 cmake < 源码目录 > 生成 Makefile • 执行本地的构建系统 提供了更方便的 -B 和 --build 指令,不同平台,统一命 令! • cmake -B build • cmake --build build -j4 • sudo cmake --build build --target install • cmake -B build 免去了先创建 build 目录再切换进去再指定源码目录的麻烦。 • cmake --build build 统一了不同平台( devenv.exe ) • 结论:从现在开始,如果在命令行操作 cmake ,请使用更方便的 -B 和 --build 命令。 // 在源码目录用 -B 直接创建 build 目录并生成 build/Makefile // 自动调用本地的构建系统在 build 里构建,即: make -C build -j4 // 调用本地的构建系统执行 install0 码力 | 166 页 | 6.54 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南
不会自动更新,还是旧的那几个文件,可能出现 undefined symbol ,需要重新运行 cmake -B build 才能更新。 • 加了,则每次 cmake --build 时自动检测目录是否更新,如果目录有新文件了, CMake 会自动帮你重新运行 cmake -B build 更新 myvar 变量。 六、头文件和源文件的一一对应关系 • 通常每个头文件都有一个对应的源文件,两个文件名字应当相同 D:/Qt5.12.1/msvc2017/lib/cmake/Qt5 。有三种设置方法: • (1) 单次有效。在 configure 阶段,可以从命令行设置(注意要加引号): • cmake -B build -DQt5_DIR=”D:/Qt5.12.1/msvc2017/lib/cmake/Qt5” • (2) 全局启用。右键“我的电脑” ->“ 管理” ->“ 高级”添加一个环境变量 Qt5_DIR Qt5_DIR 为 /opt/Qt5.12.1/lib/cmake/Qt5 。有三种设置方法: • (1) 单次有效。在 configure 阶段,可以从命令行设置: • cmake -B build -DQt5_DIR=”/opt/Qt5.12.1/lib/cmake/Qt5” • (2) 全局启用。修改你的 ~/.bashrc 文件添加环境变量: • export Qt5_DIR=”/opt/Qt50 码力 | 56 页 | 6.87 MB | 1 年前3whats new in visual studio
Visit https://aka.ms/cpp/20 for more details Developer inner-loop C++20 in Visual Studio Build Debug Edit Code Navigation ☑️� Linters ☑️� Colorization & Formatting ☑️� IntelliSense ⌛; ☑️�MSVC installation • Built from source, on-demand • Centralized, tested catalog (no version conflicts) • Popular build targets supported by default, and you can add your own custom targets 🚀 https://vcpkg io Demo CMake integration CMake is a first-class project system in Visual Studio Familiar edit-build-debug inner-loop • including MSVC and Clang-tidy squiggles & quick actions • Doxygen integration0 码力 | 42 页 | 19.02 MB | 5 月前3C++高性能并行编程与优化 - 课件 - 01 学 C++ 从 CMake 学起
txt ,并在 build 文件夹下生成 build/Makefile : • > cmake -B build • 让 make 读取 build/Makefile ,并开始构建 a.out : • > make -C build • 以下命令和上一个等价,但更跨平台: • > cmake --build build • 执行生成的 a.out : • > build/a.out 为什么需要库( bat • > .\vcpkg integrate install • > .\vcpkg install fmt:x64-windows • > cd .. • > cmake -B build -DCMAKE_TOOLCHAIN_FILE="%CD%/vcpkg/scripts/buildsystems/vcpkg.cmake" 感谢观看! presents by 彭于斌 个人 GitHub0 码力 | 32 页 | 11.40 MB | 1 年前3Bazel
ase:build-debian11 cd /curve/ # 使用 gcc 编译 bazel build –config=gcc7-later … # use '-faligned-new' to enable C++17 over-aligned new support # 使用 clang 编译 CC=clang CXX=clang++ bazel build …2 制作镜像 $(pwd):/curve -v /root/.cache/bazel:/root/.cache/bazel -it opencurvedocker/curve-base:build-debian11 # 容器内 cd /curve/curvefs make build os=debian11 # 容器外 # curvefs sudo make image os=debian11 tag=harbor.cloud curvefs/test/tools/curvefs_version_tool_test.cpp # 使用 clang 编译 CC=clang CXX=clang++ bazel build curvefs/...THANK YOU0 码力 | 6 页 | 4.69 MB | 5 月前3No Silver Bullet – Essence and Accident in Software Engineering
the essence of the software problem • Buy versus build • Requirements refinement and rapid prototyping • Incremental development – grow, not build, software • Great designersRequirements refinement prototyping • The hardest single part of building a software system is deciding precisely what to build • The most important function that software builders do for their clients is the iterative extraction iterative development and specification of prototypes and productsIncremental development – grow, not build, software • Let us turn to nature and study the complexity in living things • The brain alone is0 码力 | 35 页 | 1.43 MB | 5 月前3NativeScript 101
Reuse existing native libraries 4 How does NativeScript work? Under the covers Generated at build time for OS & 3rd party native libraries NativeScript Android Example output: JavaScript NativeScript platform $ tns run ios --emulator o Refresh app with latest changes to JS, CSS, XML o No re-build o Works with emulators AND devices DEMO NativeScript Core Concepts Let’s look at the Linux) o Free, Part of open source project o Requires installation, local environment setup to build for iOS/Android (requires Mac for iOS) o Integrates with Visual Studio Code (via plugin) WHY:0 码力 | 90 页 | 40.11 MB | 1 年前3THE FIRST EXPLORATION OF PROJECT SPARROW
implemented in Rust: III. Sparrow Development build the Renode Rust UART peripheral example: cargo build --target wasm32-unknown-unknown --release --lib III. Sparrow Development Development III. Sparrow Development apply the above patch to master branch and build Renode from source: https://renode.readthedocs.io/en/latest/advanced/building_from_sources0 码力 | 68 页 | 13.14 MB | 1 年前3Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit
gmalekpour@esri.com Visualize Time Enabled Data using ArcGIS Qt (C++) and ToolkitAbout Esri • We build mapping technology that our customers use to solve the world’s most complex challenges • We offer time interval, etc. - Feature layer URLArcGIS Runtime for Qt - SDK • The Qt SDK allows you to build cross platform desktop and mobile apps • Incorporate features such as mapping, geocoding, routing0 码力 | 10 页 | 734.09 KB | 5 月前3
共 20 条
- 1
- 2