Re: [CMake] Question about eclipse

2018-02-10 Thread Martin Weber
On Donnerstag, 8. Februar 2018 02:42:13 CET jaeho jo wrote:
> Hi! I have a Question aboue eclipse.
> 
> I have a one C project in eclipse.
> 
> I have built this project only using eclipse so far.
> 
> I want to build thid C project using cmake
> 
>   Should I write the CMakeLists.txt file myself?? or Is there a way to set
> CMake build environment automatically?

You will have to do so. There is no generator for CMakeLists.txt in CDT.

> I can find many way to import existing cmake project to eclipse.
> 
> But, I can't find how to set cmake build configuration about existing
> eclipse C project easily

I wrote a plugin that works with normal C/C++ projects and invokes cmake for 
you. You will find it in the Eclipse Marketplace (cmake4eclipse).

As a start, you may check out the sample projects in 

Martin

-- 
Cd wrttn wtht vwls s mch trsr.


-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] Question about eclipse

2018-02-07 Thread jaeho jo
Hi! I have a Question aboue eclipse.

I have a one C project in eclipse.

I have built this project only using eclipse so far.

I want to build thid C project using cmake

  Should I write the CMakeLists.txt file myself?? or Is there a way to set
CMake build environment automatically?

I can find many way to import existing cmake project to eclipse.

But, I can't find how to set cmake build configuration about existing
eclipse C project easily

Thanks
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [CMake] question about Eclipse CDT Generators

2011-09-13 Thread Alexander Neundorf
On Tuesday, September 06, 2011 06:53:23 PM cheshirekow wrote:
 Hi cmake list,
 
 I'm using cmake to manage a CUDA project, and I'm generating an eclipse
 project for development.
 
 Since CDT doesn't natively understand the output from the nvidia
 compiler, I've created a new regex error parser (I'm using eclipse 3.7
 but I heard 3.6 has this ability as well), however, in the project
 generated by cmake, I cannot add this error parser. It does not appear
 in the list of check boxes. I'm trying to figure out why.
 
 I've tried creating a new C/C++ makefile project, and my custom error
 parser does appear in there. I compared the .project and .cproject files
 from both the cmake generated project and the dummy makefile project
 from the CDT new project wizard. They look very different. In addition,
 when I look at the project properties dialog for the cmake generated
 project, the options available are different then one from an eclipse
 wizard generated project. They are:
 
 C/C++ General
 C/C++ Include Paths and Symbols
 C/C++ Make Project
 C/C++ Project Paths
 
 Whereas, when using the new project wizard from CDT I get
 
 C/C++ Build
 C/C++ General
 
 In the cmake generated project, error parsers are listed under C/C++
 Make Project. In the eclipse generated project, error parsers are listed
 under C/C++ Build-settings.
 
 Does anyone understand why the cmake generated project is different from
 the eclipse generated project? Is it because cmake is generating project
 files for an older version of CDT? Is there a way to make it the same
 and use my custom parser?

Please create an entry in the cmake bug tracker for this: 
http://public.kitware.com/Bug

Thanks
Alex
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] question about Eclipse CDT Generators

2011-09-08 Thread I. Bue
CMake generates all the Makefiles by itself and then creates a standard
Makefile-Project for Eclipse/CDT on top of them. This is different from
(native) 'Managed Build' in Eclipse/CDT where the project configuration
and dependency tree is pure XML and the underlying toolchain is
integrated by adapter-classes in Java.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] question about Eclipse CDT Generators

2011-09-06 Thread cheshirekow
Hi cmake list, 

I'm using cmake to manage a CUDA project, and I'm generating an eclipse
project for development. 

Since CDT doesn't natively understand the output from the nvidia
compiler, I've created a new regex error parser (I'm using eclipse 3.7
but I heard 3.6 has this ability as well), however, in the project
generated by cmake, I cannot add this error parser. It does not appear
in the list of check boxes. I'm trying to figure out why.

I've tried creating a new C/C++ makefile project, and my custom error
parser does appear in there. I compared the .project and .cproject files
from both the cmake generated project and the dummy makefile project
from the CDT new project wizard. They look very different. In addition,
when I look at the project properties dialog for the cmake generated
project, the options available are different then one from an eclipse
wizard generated project. They are:

C/C++ General
C/C++ Include Paths and Symbols
C/C++ Make Project
C/C++ Project Paths

Whereas, when using the new project wizard from CDT I get 

C/C++ Build
C/C++ General

In the cmake generated project, error parsers are listed under C/C++
Make Project. In the eclipse generated project, error parsers are listed
under C/C++ Build-settings.

Does anyone understand why the cmake generated project is different from
the eclipse generated project? Is it because cmake is generating project
files for an older version of CDT? Is there a way to make it the same
and use my custom parser?



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake