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.
29 lines
734 B
29 lines
734 B
solution "Symmetry"
|
|
configurations {"Debug", "Release"}
|
|
location "build"
|
|
language "C"
|
|
includedirs {"include/**"}
|
|
buildoptions {"-Wall", "-std=c11"}
|
|
linkoptions { "`pkg-config --libs --static glfw3`" }
|
|
links {"GLEW"}
|
|
|
|
-- local cmd_stream = assert(io.popen("pkg-config --libs --static glfw3", r))
|
|
-- local libs_to_link = assert(cmd_stream:read("*all"))
|
|
-- cmd_stream:close()
|
|
-- libs_to_link = string.gsub(libs_to_link, "-lglfw", "")
|
|
-- libs_to_link = string.gsub(libs_to_link, "\n", "")
|
|
-- linkoptions {libs_to_link}
|
|
|
|
project "Symmetry"
|
|
kind "ConsoleApp"
|
|
files { "src/*.h", "src/*.c"}
|
|
|
|
configuration "Debug"
|
|
flags {"Symbols"}
|
|
targetdir "bin/debug"
|
|
|
|
configuration "Release"
|
|
defines {"NDEBUG"}
|
|
flags {"Optimize"}
|
|
targetdir "bin/release"
|
|
|
|
|