从“可执行文件”更改项目类型到“静态库”在Eclipse CDT中 [英] Changing Project Type from "Executable" to "Static Library" in Eclipse CDT

查看:408
本文介绍了从“可执行文件”更改项目类型到“静态库”在Eclipse CDT中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在创建Eclipse CDT之后,是否有办法更改项目类型?我最初在CDT中创建了一个新的C项目作为错误的可执行文件。我想将该项目转换为静态库。任何想法?

Is there a way in the Eclipse CDT gui to change a project type after you have created it? I initially created a new C project in CDT as an executable on error. I would like to convert this project to a static library. Any thoughts?

推荐答案

您需要转到项目属性 - > C / C ++ Build - >设置 - >构建工件选项卡。在那里,您可以将工件类型更改为静态或共享库。

You need to go to project properties -> C/C++ Build -> Settings -> Build Artifact Tab. There you can change the artifact type to static or shared library.

这篇关于从“可执行文件”更改项目类型到“静态库”在Eclipse CDT中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆