cmake_minimum_required(VERSION 3.20.0)
project(MMP VERSION 0.1.0)
set(wxWidgets_ROOT_DIR "c:/wxwidgets")
set(wxWidgets_LIB_DIR "c:/wxwidgets/lib/gcc810_x64_dll")
find_package(wxWidgets REQUIRED COMPONENTS net core base)
include(${wxWidgets_USE_FILE})
file(GLOB project
src/*
)
add_executable(MMP ${project})
target_link_libraries(MMP ${wxWidgets_LIBRARIES})
target_include_directories(MMP PRIVATE ${wxWidgets_INCLUDE_DIRS})