-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
54 lines (52 loc) · 3.72 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cmake_minimum_required(VERSION 3.5)
project(MiniSpot)
include_directories(src/share/vm)
SET(GCC_COMPILE_FLAGS "-std=c++11 -lpthread -g -rdynamic")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GCC_COMPILE_FLAGS}")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Debug")
set(SOURCE_FILES
main.cpp
src/share/vm/prims/jni.cpp src/share/vm/prims/jni.h
src/share/vm/runtime/threads/osThread.cpp src/share/vm/runtime/threads/osThread.h
src/share/vm/runtime/threads/thread.cpp src/share/vm/runtime/threads/thread.h
src/share/vm/utilities/globalDefinitions.cpp src/share/vm/utilities/globalDefinitions.h
src/share/vm/utilities/debug.cpp src/share/vm/utilities/debug.h
src/share/vm/runtime/globals.cpp src/share/vm/runtime/globals.h
src/share/vm/runtime/os.cpp src/share/vm/runtime/os.h
src/share/vm/runtime/mutex.cpp src/share/vm/runtime/mutex.h
src/share/vm/runtime/threads/javaThread.cpp src/share/vm/runtime/threads/javaThread.h
src/share/vm/runtime/threads/namedThread.cpp src/share/vm/runtime/threads/namedThread.h
src/share/vm/runtime/threads/vmThread.cpp src/share/vm/runtime/threads/vmThread.h
src/share/vm/runtime/init.cpp src/share/vm/runtime/init.h
src/share/vm/memory/universe.cpp src/share/vm/memory/universe.h
src/share/vm/gc/shared/collectedHeap.cpp src/share/vm/gc/shared/collectedHeap.h
src/share/vm/memory/memRegion.cpp src/share/vm/memory/memRegion.h
src/share/vm/runtime/vmStructs.cpp src/share/vm/runtime/vmStructs.h
src/share/vm/utilities/exceptions.cpp src/share/vm/utilities/exceptions.h
src/share/vm/oops/oop.cpp src/share/vm/oops/oop.h
src/share/vm/oops/oopsHierarchy.cpp src/share/vm/oops/oopsHierarchy.h
src/share/vm/oops/klass.cpp src/share/vm/oops/klass.h
src/share/vm/runtime/handles.cpp src/share/vm/runtime/handles.h
src/share/vm/gc/shared/gcCause.cpp src/share/vm/gc/shared/gcCause.h
src/share/vm/gc/shared/generation.cpp src/share/vm/gc/shared/generation.h
src/share/vm/gc/shared/genCollectedHeap.cpp src/share/vm/gc/shared/genCollectedHeap.h
jre/java/lang/jre_object.cpp jre/java/lang/jre_object.h
src/share/vm/gc/serial/defNewGeneration.cpp src/share/vm/gc/serial/defNewGeneration.h
src/share/vm/gc/serial/tenuredGeneration.cpp src/share/vm/gc/serial/tenuredGeneration.h
src/share/vm/gc/shared/space.cpp src/share/vm/gc/shared/space.h
src/share/vm/runtime/atomic.cpp src/share/vm/runtime/atomic.h
src/share/vm/classfile/classFile.cpp src/share/vm/classfile/classFile.h
src/share/vm/classfile/classFileParser.cpp src/share/vm/classfile/classFileParser.h
src/share/vm/utilities/vmError.cpp src/share/vm/utilities/vmError.h
src/share/vm/classfile/classLoader.cpp src/share/vm/classfile/classLoader.h
src/share/vm/oops/instanceKlass.cpp src/share/vm/oops/instanceKlass.h
src/share/vm/runtime/symbol.cpp src/share/vm/runtime/symbol.h
src/share/vm/classfile/systemDictionary.cpp src/share/vm/classfile/systemDictionary.h
src/share/vm/utilities/ostream.cpp src/share/vm/utilities/ostream.h
jre/java/lang/jre_core.h jre/java/lang/jre_class.cpp jre/java/lang/jre_class.h
jre/java/lang/jre_metadata.cpp jre/java/lang/jre_metadata.h
src/share/vm/prims/jvm.cpp src/share/vm/prims/jvm.h
src/share/vm/runtime/arguments.cpp src/share/vm/runtime/arguments.h
src/share/vm/utilities/sysUtil.cpp src/share/vm/utilities/sysUtil.h
src/share/vm/interpreter/bytecodes.cpp src/share/vm/interpreter/bytecodes.h src/share/vm/classfile/classLoaderData.hpp.cpp src/share/vm/classfile/classLoaderData.hpp.h)
add_executable(MiniSpot ${SOURCE_FILES})