aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/org.yocto.cmake.core
AgeCommit message (Collapse)Author
2018-12-17org.yocto.cmake.core : fix missing cmake project template in maven buildLee Chee Yang
the problem only observed when using the plugin build with maven. running from workspace will not see the issue. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
2018-11-16Update plugin names and descriptions in pom.xmlcha/yoctoPluginsContainerBuildChin Huat Ang
Make sure all plugin names' begin with "Yocto Project", especially plugins which are placeholders for upstream feature contribution and bug fixes. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: improve makefile generationChin Huat Ang
The methods regenerateMakefile() and generateMakefiles(IResourceDelta) are no longer identical, instead generateMakefiles method now makes makefile generation optional (as intended) if the makefiles already exists, whereas the regenerateMakefile method will always regenerate regardless of whether existing makefiles exist or not. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: fix default build typeChin Huat Ang
When default build type is selected in project properties -> C/C++ Build ->Settings -> Tool Settings -> CMake (alpha) -> General -> Build type, do not set -DCMAKE_BUILD_TYPE=, instead just omit the entire flag. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: enable ELF parserChin Huat Ang
Select CDT builtin ELF parser so that detected ELF binaries will appear under the Binaries virtual folder. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: generate CMake build files only onceChin Huat Ang
Only generate CMake build files if they are missing. Subsequent builds should reuse the generated build files (Makefile, CMakeCache.txt, CMakeFiles dir etc.). Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: add CMake natureChin Huat Ang
CMake projects created from template will now have CMake nature set via NewCMakeProject process. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: fix incorrect cmake console IDChin Huat Ang
The CMake build console was broken and do not show up during project build, which appeared to be caused by refactoring to core vs UI plugins. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: don't resolve cmake executable pathChin Huat Ang
The current approach for resolving cmake executable's absolute path does not work with ContainerCommandLauncher as it is not possible to use java.io.File to test the existence of the executable. Instead we relax or delegate to the underlying command launcher to determined the best way to resolve the executable's absolute path. Alternatively, this can also be done in CMakeMakefileGenerator subclasses. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Bump new plugins' version to 1.4.1Chin Huat Ang
Update all new plugins' version in manifest file to 1.0.0 to 1.4.1 to resolve the following maven build issue: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.0.0:validate-version (default-validate-version) on project org.yocto.cmake.core: Unqualified OSGi version 1.0.0.qualifier must match unqualified Maven version 1.4.1-SNAPSHOT for SNAPSHOT builds -> [Help 1] Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16Build new plugins using mavenChin Huat Ang
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: expose CMakeMakefileGenerator as APIChin Huat Ang
Move CMakeMakefileGenerator to a non-internal and exported package as it provides target agnostic Makefile build system generation base features which is intended for reuse, e.g. extended to support cross compilation. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: fix NLS missing message warningsChin Huat Ang
Move Messages class to a non-internal and exported package so that static initialization via OSGi NLS won't complain about missing externalized strings. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
2018-11-16org.yocto.cmake.core: add generic cmake build system supportChin Huat Ang
This plugin is a reimplementation of org.yocto.cmake.managedbuilder which provides Managed Build System CMake project support. Unlike prior implementation, the new CMake project works with host (native) CMake toolchain, and is intended for extension to support cross compilation. The CMake project template is reused from org.yocto.cmake.managedbuilder, while a new generic CMake toolchain definition is provided which should works with any host CMake toolchain out of the box, and yet this toolchain definition can be extended to support arbitrary CMake toolchain installation. Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>