Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Commit

Permalink
arrays expanded for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal committed Feb 11, 2015
1 parent e4110e9 commit ca9d64e
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,12 @@ end
--------------------
solution "SQLite3"
language "C++"
configurations { "Debug_AES128", "Release_AES128", "Debug_AES256", "Release_AES256" }
configurations {
"Debug_AES128",
"Release_AES128",
"Debug_AES256",
"Release_AES256"
}
platforms { "x32", "x64" }
targetdir "$(SolutionDir)/bin/$(ProjectName)/$(Configuration)"
flags {
Expand Down Expand Up @@ -188,7 +193,10 @@ solution "SQLite3"
["Header Files"] = { "**.h" },
["Source Files"] = { "**.c" }
}
files { SRC_DIR.."/sqlite3secure.c", SRC_DIR.."/*.h" }
files {
SRC_DIR.."/sqlite3secure.c",
SRC_DIR.."/*.h"
}
defines "_LIB"

-- SQLite3 as shared library
Expand All @@ -198,19 +206,31 @@ solution "SQLite3"
location (BUILD_DIR.."/"..PRJ_NAME_DLL)
vpaths {
["Header Files"] = { SRC_DIR.."/*.h" },
["Source Files"] = { SRC_DIR.."/sqlite3secure.c", SRC_DIR.."/*.def" }
["Source Files"] = {
SRC_DIR.."/sqlite3secure.c",
SRC_DIR.."/*.def"
}
}
files {
SRC_DIR.."/sqlite3secure.c",
SRC_DIR.."/*.h",
SRC_DIR.."/sqlite3.def",
SRC_DIR.."/sqlite3.rc"
}
files { SRC_DIR.."/sqlite3secure.c", SRC_DIR.."/*.h", SRC_DIR.."/sqlite3.def", SRC_DIR.."/sqlite3.rc" }
defines "_USRDLL"

-- SQLite3 Shell
project (PRJ_NAME_SHELL)
uuid "84DB93F6-E8D8-487A-9A31-1E2CF60EB09F"
kind "ConsoleApp"
location (BUILD_DIR.."/"..PRJ_NAME_SHELL)
files { SRC_DIR.."/sqlite3.h", SRC_DIR.."/shell.c", SRC_DIR.."/sqlite3shell.rc" }
files {
SRC_DIR.."/sqlite3.h",
SRC_DIR.."/shell.c",
SRC_DIR.."/sqlite3shell.rc"
}
links { PRJ_NAME_LIB }
defines {
"SQLITE_THREADSAFE=0", -- CLI is always single threaded
"SQLITE_THREADSAFE=0", -- CLI is always single threaded, generates warnings because of a collision with previous definitions
"SQLITE_ENABLE_EXPLAIN_COMMENTS"
}

0 comments on commit ca9d64e

Please # to comment.