2024-09-01 07:47:36 +00:00
|
|
|
add_rules("mode.release","mode.debug")
|
|
|
|
|
2024-09-01 09:15:07 +00:00
|
|
|
set_languages("c++23")
|
|
|
|
|
|
|
|
|
|
|
|
if is_mode("release")then
|
|
|
|
if is_plat("mingw")then
|
|
|
|
add_ldflags("-mwindows")
|
|
|
|
end
|
|
|
|
if is_plat("windows")then
|
|
|
|
add_ldflags("/SUBSYSTEM:WINDOWS")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-09-01 07:47:36 +00:00
|
|
|
add_requires("glfw","glad","glm")
|
|
|
|
add_packages("glfw","glad","glm")
|
|
|
|
|
2024-09-01 10:11:59 +00:00
|
|
|
target("3Points")
|
2024-09-01 09:45:50 +00:00
|
|
|
add_files("src/c1/threePoints.cpp")
|