CMakeLists.txt 911 Bytes
Newer Older
Vít Kabele's avatar
Vít Kabele committed
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
cmake_minimum_required(VERSION 3.13)
project(src_disl_agent C)

set(CMAKE_C_STANDARD 11)

include_directories(.)
include_directories(protocol)
include_directories(../src-jdk-include)
include_directories(../src-jdk-include/macosx)

add_executable(src_disl_agent
        protocol/disl.pb-c.c
        protocol/disl.pb-c.h
        protocol/main.pb-c.c
        protocol/main.pb-c.h
        protocol/shvm.pb-c.c
        protocol/shvm.pb-c.h
        bytecode.c
        bytecode.h
        classparser.c
        classparser.h
        codeflags.h
        common.c
        common.h
        config.c
        config.h
        connection.c
        connection.h
        connpool.c
        connpool.h
        debug.h
        dislagent.c
        jvmtiutil.c
        jvmtiutil.h
        list.h
        msgchannel.c
        msgchannel.h
        network.c
        network.h
        sessions.c
        sessions.h
        threads.h)