cmake_minimum_required(VERSION 3.25) include(FetchContent) project(JavaBytecodeParser) include_directories(include) include_directories(${CMAKE_BINARY_DIR}) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CXX_STANDARD 23) set(CAVM_RUNTIME_CHECK_SUPPORT ON) add_subdirectory(src) configure_file(include/Config.in ${CMAKE_BINARY_DIR}/Config.h) set(CONSTANT_POOL_TAG_SRC ${CONSTANT_POOL_TAG_SRC}) message("src " ${CONSTANT_POOL_TAG_SRC}) add_executable(parser ${CONSTANT_POOL_TAG_SRC} ) if (UNIX) set(CMAKE_CXX_FLAGS "-std=c++${CXX_STANDARD} -O0 -g -Wpedantic") endif()