libcmo21/Unvirt/CMakeLists.txt

31 lines
510 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.12)
project(Unvirt LANGUAGES CXX)
2023-09-24 23:27:20 +08:00
# set languages
set(CMAKE_CXX_STANDARD 20)
# add libcmo
add_subdirectory("../LibCmo" "LibCmo.out")
2023-09-24 23:27:20 +08:00
# add ironpad
#add_subdirectory("../IronPad" "IronPad.out")
# setup sources
set(unvirt_sources
AccessibleValue.cpp
CmdHelper.cpp
StringHelper.cpp
StructFormatter.cpp
TerminalHelper.cpp
2023-08-31 10:20:10 +08:00
UnvirtContext.cpp
Unvirt.cpp
)
# generate program
add_executable(Unvirt ${unvirt_sources})
target_link_libraries(Unvirt
PRIVATE
LibCmo
2023-09-24 23:27:20 +08:00
IronPad
)