-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
31 lines (25 loc) · 907 Bytes
/
Copy pathpremake5.lua
File metadata and controls
31 lines (25 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
workspace "replex"
configurations {"Debug", "Release"}
-- Use C++ as the target language for all builds
language "C++"
targetdir "bin/%{cfg.buildcfg}"
flags {"C++14"}
filter "configurations:Debug"
defines {"DEBUG"}
symbols "On"
filter "configurations:Release"
defines {"RELEASE"}
optimize "On"
project "GoogleTest"
kind "StaticLib"
files {"googletest/googletest/src/gtest-all.cc"}
includedirs {"googletest/googletest/include", "googletest/googletest"}
project "replexruntime"
kind "ConsoleApp"
files {"runtime/**.h", "runtime/**.cpp"}
includedirs {"lib/pub", "test/pub", "googletest/googletest/include"}
links {"GoogleTest"}
project "replextest"
kind "SharedLib"
files {"test/**.h", "test/**.cpp", "test/pub/*.h"}
includedirs {"lib/pub"}