首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何调用POCO的PageCompiler?

如何调用POCO的PageCompiler?
EN

Stack Overflow用户
提问于 2020-10-14 21:56:00
回答 1查看 64关注 0票数 0

我觉得自己很傻。

https://pocoproject.org/pro/docs/PageCompilerUserGuide.html

上面写着:

代码语言:javascript
复制
Invoking the Page Compiler

The Page Compiler is invoked from the command line. The file names of the CPSP files to be compiled are specified as arguments.

A number of options control the code generation. Options are specified using the usual command-line option syntax for the current operating system (e.g., <[/help on Windows, <[--help or <[-h on Unix).

    help (h): display usage information
    define (D): define a configuration property
    config-file (f): load configuration properties from a file
    osp (O): add factory class definition/implementation for use with OSP
    apache (A): add factory class definition/implementation and shared library manifest for use with ApacheConnector
    escape (e): make HTML-escape mode default for all pages

Run the PageCompiler with the —help option to see all available options. 

好的,酷。但是实际的可执行文件是什么/在哪里?我已经从默认存储库在Ubuntu 18.04 LTS上安装了所有的POCO库。

POCO似乎是一个很棒的库,但我发现文档(不仅如此)严重缺乏。主要是由于不存在的例子。

EN

回答 1

Stack Overflow用户

发布于 2020-10-14 23:35:20

我从源代码安装并构建了POCO。Poco-x.x.x.x-all/PageCompiler/bin/Linux/x86_64.中的PageCompiler它被称为cpspccpspcd。安装后,它会被复制到路径中的/usr/local/bin/,中。在Fedora 31上完成。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64354893

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档