| 1234567891011121314151617181920212223242526272829303132 |
- local prelude = require "prelude"
- local portaudio = require "prelude.libraries.portaudio"
- local physfs = require "prelude.libraries.physfs"
- workspace "Your Project here"
- configurations {"Debug", "DebugOpt", "Release"}
- location "build"
- portaudio:use "SharedLib"
- physfs:use "SharedLib"
- -- I'll also try to have a common core system to factorize some programming
- -- elements together.
- project "Core"
- kind "StaticLib"
- files {"include/core/**.hpp", "src/core/**.cpp"}
- includedirs {""}
- project "Main"
- cppdialect "C++17"
- kind "ConsoleApp"
- files {"include/main/**.hpp", "src/main/**.cpp"}
- includedirs {"include"}
- links {"Core"}
-
- -- TODO : issues at link on VS2015. Does it happen at home?
- -- Need to manually check "Link Library Dependencies" every time.
- prelude.link_against_modules {portaudio, physfs}
- prelude.base_project_settings()
|