blob: 1e9d67164c07b0f8f9e21e15203e814be2ebe9c2 (
plain)
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
32
33
34
35
36
37
38
39
|
workspace "stlsplit"
location "."
targetdir("build")
configurations { "Debug", "Release" }
platforms { "native", "x64", "x32" }
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
warnings "Extra"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
warnings "Extra"
project "lib"
language "C++"
kind "SharedLib"
files { "stlsplit.cpp", "*.h" }
targetname "stlsplit"
links { "admesh" }
filter "system:linux"
targetextension ".so.1"
linkoptions { "-Wl,-soname,libstlsplit.so.1" }
postbuildcommands { "ln -sf libstlsplit.so.1 build/libstlsplit.so" }
filter "system:macosx"
targetextension ".1.dylib"
postbuildcommands { "ln -sf libstlsplit.1.dylib build/libstlsplit.dylib" }
project "cli"
kind "ConsoleApp"
language "C++"
libdirs { "build" }
files { "cli.cpp" }
targetname "stlsplit"
links { "lib", "admesh" }
|