You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vmprofiler-qt/cmake.toml

56 lines
1.1 KiB

[cmake]
version = "3.15"
cmkr-include = "cmake/cmkr.cmake"
[project]
name = "VMProfiler Qt"
version = "1.8"
description = "VMProtect 2 IL Inspector"
include-after = ["cmake/Qt5Helpers.cmake"]
[find-package]
Qt5 = { components = ["Widgets"] }
[subdir.dependencies]
[target.vmprofiler-qt]
type = "executable"
compile-features = ["cxx_std_20"]
sources = [
"src/qvminspector.ui",
"src/qvminspector.qrc",
"src/qvminspector.cpp",
"src/qvirt_instrs.cpp",
"src/qvirt_handlers.cpp",
"src/main.cpp",
"src/*.h",
"src/icon.rc",
"src/darkstyle/**.cpp",
"src/darkstyle/**.h",
"src/darkstyle/mainwindow.ui",
"src/darkstyle/framelesswindow.qrc",
"dependencies/ia32-doc/out/ia32.hpp"
]
include-directories = [
"include",
"dependencies/ia32-doc/out/"
]
compile-definitions = [
"NOMINMAX"
]
link-libraries = ["Qt5::Widgets", "vmprofiler"]
link-options = ["/SUBSYSTEM:WINDOWS"]
cmake-after = """
# Enable Qt moc/rrc/uic support
target_qt(${CMKR_TARGET})
# Copy Qt DLLs next to the application
target_windeployqt(${CMKR_TARGET})
"""
[[install]]
targets = ["vmprofiler-qt"]
destination = "bin"