i'd like to build the cmake eclipse project in a container using the newly released container functionality, so i set up a cmake4eclipse project, i enabled container building in the build->settings.
the building works fine, eclipse launches docker and builds the executable just fine, but the indexer doesn't take into account headers (i use the point cloud library so headers are in /usr/include/pcl-1.8 inside my docker image).
I see that eclipse copies the headers from the docker image to the host system (i find them somewhere as cached headers under my workspace), however, when i look in "preprocessor macros and includes" there is no reference to /usr/include/pcl-1.8.
Is this supposed to work at all ? I understand that in order to find include paths, CMAKE_EXPORT_COMPILE_COMMANDS is used, but is the cmake ran inside the docker container here ? And are the paths translated from docker image to the cached headers on the host ?
Thanks...
Frank
--
You received this message because you are subscribed to a topic in the Google Groups "cmake4eclipse user mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cmake4eclipse-users/fzetPJO8HK0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cmake4eclipse-users+unsub...@googlegroups.com.
To post to this group, send email to cmake4eclipse-users@googlegroups.com.
Visit this group at https://groups.google.com/group/cmake4eclipse-users.
For more options, visit https://groups.google.com/d/optout.
I also trying to use cmake4eclipse with CDT docker build. I am bothered now with the error:
[Running in image <bernddoser/docker-devel-cpp:ubuntu-16.04-cmake-3.10-clang-6>]
/usr/bin/cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -G "Unix Makefiles" /home/eclipse/git/cpp-settings
CMake Error: Could not create named generator Unix
As I understand the docker cmake command has lost the quotation marks. Inspecting the docker container, I see:
"Path": "/usr/bin/cmake",
"Args": [
"-DCMAKE_BUILD_TYPE:STRING=Debug",
"-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON",
"-G",
"Unix",
"Makefiles",
"/home/eclipse/git/cpp-settings"
],
Is it possible to mask the quotation marks?
Best regards,
Bernd
Dear all,I also trying to use cmake4eclipse with CDT docker build. I am bothered now with the error:
docker container, I see:"Path": "/usr/bin/cmake",
"Args": [
"-DCMAKE_BUILD_TYPE:STRING=Debug",
"-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON",
"-G",
"Unix",
"Makefiles",
"/home/eclipse/git/cpp-settings"
],Is it possible to mask the quotation marks?
Hi Frank and Jerroyd,
since I am still struggling with my docker setup for CDT on Linux, could you please try my locally build inofficial version here:
<jar:https://googledrive.com/host/0B-QU1Qnto3huZUZ0QUdxM01pR0U/cmake4eclipsecdt-1.0.0.zip!/>
Just add the above URL as an update site and update.
Please report here whether the include paths are translated/copied as expected.Curious - as I am running into this as well.
-Mads
--
You received this message because you are subscribed to the Google Groups "cmake4eclipse user mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cmake4eclipse-u...@googlegroups.com.
To post to this group, send email to cmake4ecl...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "cmake4eclipse user mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cmake4eclipse-users/fzetPJO8HK0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cmake4eclipse-u...@googlegroups.com.