Cover image
Try Now
2024-07-08

MCPP的叉子,A C/C ++预处理器

3 years

Works with Finder

9

Github Watches

29

Github Forks

70

Github Stars

mcpp

This is a fork of mcpp. mcpp is a C/C++ preprocessor used by the Ice Slice compilers.

This fork consists of a simplified version of mcpp 2.7.2 plus various fixes, tailored to the Slice compilers requirements. Its build system creates only a static library and no command-line preprocessor. The configure script was replaced by a custom config.h suitable for Windows, macOS and Linux builds. Tests and other optional files were removed.

The resulting static library is later used when creating the Ice Slice shared library or statically-linked Slice compilers such as slice2js.

Build Instructions

Linux and macOS

Simply type:

  make

This creates a static library libmcpp.a. Depending on your platform, the library is created in the following directory:

  • lib64 - Linux system with a /usr/lib64 directory
  • lib - Linux system without a /usr/lib64 directory, macOS

Windows with Visual Studio

Open a Visual Studio Command Prompt, and type:

  MSbuild msbuild\mcpp.vcxproj

This creates a static library mcpp.lib for Release configurations and mcppd.lib for Debug configurations. You can select a specific Configuration (Debug or Release) and Platform (Win32 or x64) as shown below:

  MSbuild msbuild\mcpp.vcxproj /p:Configuration=Release /p:Platform=x64

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • appcypher
  • 很棒的MCP服务器 - 模型上下文协议服务器的策划列表

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    5 (1)
    Avatar
    user_bFG1ANL8
    2025-04-17

    I recently started using mcpp by zeroc-ice and it has exceeded my expectations. This fantastic open-source project, available on GitHub, offers robust features and excellent performance. The documentation is comprehensive, making it easy for both beginners and experienced developers to get started. Highly recommend checking it out!