Files
Ваше Имя 902959f658 feat(dependencies): add Poco library
Introduce Poco library dependencies for port_scanner target, including Net and
Foundation components, alongside Boost.
2025-10-07 18:40:24 +04:00

28 lines
637 B
Lua

set_languages "c++23"
add_rules("plugin.compile_commands.autoupdate", { outputdir = "." })
add_requires("cmake::Boost", {
alias = "boost",
system = true,
configs = {
components = { "program_options", "log" },
},
})
add_requires("cmake::Poco", {
alias = "poco",
system = true,
configs = {
components = { "Net", "Foundation" },
},
})
target "port_scanner"
do
set_kind "binary"
add_files("src/main.cpp", "src/cli/*.cpp", "src/common/*.cpp", "src/core/*.cpp")
add_includedirs("src", "src/cli", "src/common", "src/core", { public = true })
add_packages("boost", "poco")
end