OpenJDK Experimental HotSpot CMake generator README


Trying it out

There is a new top level make target called hotspot-cmake-project. The new make target generates a CMakeLists.txt located in the hotspot directory.

There are two ways to use the CMakeLists file to create an IDE project:

To invoke the CMakeLists generator for a build configuration run

make hotspot-cmake-project

To invoke a CMake project file generator you can either invoke cmake by hand, pointing out the CMakeLists.txt file or you can use a hack in the makefiles to create it, for example:

make hotspot-cmake-project RUN_CMAKE=1 CMAKE_GENERATOR='Eclipse CDT4 - Unix Makefiles'

Platform support

CMake supports multiple platforms but currently the CMakeLists generator has only been tested on Linux.