mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
improve build system. ironically, this broke the build for now
This commit is contained in:
parent
6dc2bcab91
commit
723ed7baaa
0
build/build-osx-cmake.sh
Normal file
0
build/build-osx-cmake.sh
Normal file
7
build/build-osx-genie.sh
Executable file
7
build/build-osx-genie.sh
Executable 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
BIN
build/genie/genie-linux
Normal file
Binary file not shown.
BIN
build/genie/genie-osx
Executable file
BIN
build/genie/genie-osx
Executable file
Binary file not shown.
BIN
build/genie/genie-win.exe
Normal file
BIN
build/genie/genie-win.exe
Normal file
Binary file not shown.
Binary file not shown.
|
@ -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"
|
||||
}
|
Loading…
Reference in New Issue
Block a user