mirror of https://github.com/decompals/wibo.git
24 lines
549 B
CMake
24 lines
549 B
CMake
cmake_minimum_required(VERSION 3.13)
|
|
project(wibo LANGUAGES CXX)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
|
|
find_package(Filesystem REQUIRED)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32 -Wall -g")
|
|
include_directories(.)
|
|
add_executable(wibo
|
|
dll/advapi32.cpp
|
|
dll/kernel32.cpp
|
|
dll/lmgr.cpp
|
|
dll/ole32.cpp
|
|
dll/user32.cpp
|
|
dll/version.cpp
|
|
files.cpp
|
|
loader.cpp
|
|
main.cpp
|
|
)
|
|
target_link_libraries(wibo PRIVATE std::filesystem)
|
|
install(TARGETS wibo DESTINATION bin)
|