Skip to content

Instantly share code, notes, and snippets.

@b1ghawk
Forked from jyukutyo/CMakeLists.txt
Created June 24, 2020 03:07
Show Gist options
  • Save b1ghawk/9bcc728c6d8c5184cd1083c22148ff9e to your computer and use it in GitHub Desktop.
Save b1ghawk/9bcc728c6d8c5184cd1083c22148ff9e to your computer and use it in GitHub Desktop.
Build OpenJDK on CLion
cmake_minimum_required(VERSION 3.7)
project(hotspot)
include_directories(
src/hotspot/cpu
src/hotspot/os
src/hotspot/os_cpu
src/hotspot/share
src/hotspot/share/precompiled
src/hotspot/share/include
src/java.base/unix/native/include
src/java.base/share/native/include
)
file(GLOB_RECURSE SOURCE_FILES "*.cpp" "*.hpp" "*.c" "*.h")
add_executable(hotspot ${SOURCE_FILES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment