Is there a cmakelists.txt file of openjdk11 (original) (raw)
Robin Westberg robin.westberg at oracle.com
Tue Dec 18 06:29:24 UTC 2018
- Previous message (by thread): RFR: [OpenJDK 2D-Dev] JDK-8215296 do not disable c99 on Solaris
- Next message (by thread): RFR: JDK-8215635: Pandoc check in Docs.gmk does not work on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(moving to build-dev)
Hi,
As of version 2018.2 1, as an alternative to CMakeLists.txt, CLion can make use of compile_commands.json 2 as well. After configuring your build, you can generate such a file with the JDK make system:
$ make compile-commands
Or alternatively, if you are only interested in hotspot sources:
$ make compile-commands-hotspot
The compile_commands.json file will be created in the build// folder. Simply opening that folder from CLion should work fine, but you may want to edit some project properties afterwards to improve the appearance of the source tree listing.
Best regards, Robin
On 18 Dec 2018, at 04:33, David Holmes <david.holmes at oracle.com> wrote:
I should add that this was raised in the past. Not sure what happened to it: http://mail.openjdk.java.net/pipermail/build-dev/2017-March/018846.html but again, take this up on build-dev. David On 18/12/2018 12:36 pm, David Holmes wrote: Hi, On 18/12/2018 12:29 pm, 毛宝龙 wrote:
Hi all, we need cmakelists.txt to make ability of clion could be the ide for openjdk. Because clion support cmake only, but not makefile project. In some famous c comunity, cmake is more and more popular. So is there a cmakelists.txt? No there isn't. I suggest discussing on build-dev at openjdk.java.net. Cheers, David
- Previous message (by thread): RFR: [OpenJDK 2D-Dev] JDK-8215296 do not disable c99 on Solaris
- Next message (by thread): RFR: JDK-8215635: Pandoc check in Docs.gmk does not work on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]