Last active
May 11, 2021 13:53
-
-
Save wangzhankun/3f74b56300516095135b5cf7a8d7374b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 上层文件 | |
add_syslinks("pthread","gxiapi", "yaml-cpp") | |
add_requires("opencv 3.4", {system = true}) | |
set_languages("cxx17") | |
add_cxxflags("-Wall -pedantic") | |
includes("Main") | |
includes("Share") | |
includes("Armor") | |
includes("Buff") | |
includes("Arms") | |
includes("Obstacle") | |
includes("HeroArmor") | |
target("CV") | |
set_kind("binary") | |
set_rules("mode.debug", "mode.release") | |
-- set_optimize("fastest") | |
-- 下级文件 | |
includes("Camera") | |
includes("ConfigIO") | |
includes("Controller") | |
includes("Interface") | |
includes("KalmanFilter") | |
includes("SerialPort") | |
includes("Socket") | |
includes("ThreadManager") | |
target("CV") | |
set_kind("binary") | |
set_rules("mode.debug", "mode.release") | |
-- set_optimize("fastest") | |
-- 下级文件 | |
target("CV") | |
set_kind("binary") | |
set_rules("mode.debug", "mode.release") | |
-- set_optimize("fastest") | |
add_includedirs("include") | |
add_files("src/*.cpp") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
target("CV")
set_kind("binary")
set_rules("mode.debug", "mode.release")
-- set_optimize("fastest")
add_includedirs("include")
add_files("src/*.cpp")