Changing Project Type from "Executable" to "Static Library" in Eclipse CDT

JonnyB picture JonnyB · Sep 16, 2011 · Viewed 12.3k times · Source

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?

Answer

dbrank0 picture dbrank0 · May 7, 2012

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.