improve build system. ironically, this broke the build for now

This commit is contained in:
Thomas Fussell 2015-10-14 02:27:58 -04:00
parent 6dc2bcab91
commit 723ed7baaa
8 changed files with 7 additions and 59 deletions

0
build/build-osx-cmake.sh Normal file
View File

7
build/build-osx-genie.sh Executable file
View File

@ -0,0 +1,7 @@
cd genie
export GENIE_BIN=$(which geni)
if [ ! -x $GENIE_BIN ]; then
export GENIE_BIN="genie-osx"
echo "a"
fi
echo $GENIE_BIN

BIN
build/genie/genie-linux Normal file

Binary file not shown.

BIN
build/genie/genie-osx Executable file

Binary file not shown.

BIN
build/genie/genie-win.exe Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,59 +0,0 @@
solution "xlnt"
configurations { "Debug", "Release" }
platforms { "x64" }
location ("./" .. _ACTION)
configuration "Debug"
flags { "Symbols" }
optimize "Off"
configuration "Release"
optimize "Full"
project "xlnt.test"
kind "ConsoleApp"
language "C++"
targetname "xlnt.test"
targetdir "../../bin"
includedirs {
"../../include",
"../../third-party/cxxtest",
"../../third-party/miniz",
"../../third-party/pugixml/src"
}
files {
"../../tests/*.hpp",
"../../tests/runner-autogen.cpp"
}
links { "xlnt" }
prebuildcommands { "../../../third-party/cxxtest/bin/cxxtestgen --runner=ErrorPrinter -o ../../../tests/runner-autogen.cpp ../../../tests/*.hpp" }
flags { "Unicode" }
configuration "Release"
flags { "LinkTimeOptimization" }
configuration "windows"
defines { "WIN32" }
links { "Shlwapi" }
project "xlnt"
kind "StaticLib"
language "C++"
warnings "Extra"
targetdir "../../lib/"
includedirs {
"../../include",
"../../third-party/miniz",
"../../third-party/pugixml/src"
}
files {
"../../source/**.cpp",
"../../source/**.hpp",
"../../include/xlnt/**.hpp",
"../../third-party/miniz/miniz.c",
"../../third-party/pugixml/src/pugixml.cpp"
}
flags { "Unicode" }
configuration "Debug"
flags { "FatalWarnings" }
configuration "windows"
defines {
"WIN32",
"_CRT_SECURE_NO_WARNINGS"
}