Files
weee/CMakeLists.txt
T
2026-05-11 14:17:07 +02:00

21 lines
485 B
CMake

cmake_minimum_required(VERSION 3.23)
project(weee CXX)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
option(BUILD_SHARED_LIBS OFF)
include_directories(external/ELFIO)
include_directories(external/capstone/include)
if(WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
endif()
set(CAPSTONE_ARCHITECTURE_DEFAULT OFF)
set(CAPSTONE_PPC_SUPPORT ON)
add_subdirectory(external/capstone)
add_executable(weee main.cpp)
target_link_libraries(weee PUBLIC capstone)