Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Schneider <oliver@assarbad.net>2012-10-22 02:29:30 +0400
committerOliver Schneider <oliver@assarbad.net>2012-10-22 02:29:30 +0400
commitb925dab6789c1709461b5aa0afa3d84de4dc3f4c (patch)
tree5c98987da51f7b137994346999622afc7c00c38d /sandbox
parent09a6fc7c4cbe5f8afaec0a2aad34ed600b80a3ad (diff)
- Fixing build and including LNUM into the build now ...
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/luaconf/lua_conf.cpp5
-rw-r--r--sandbox/luaconf/lua_conf.vcproj10
-rw-r--r--sandbox/luaconf/stdafx.h37
3 files changed, 28 insertions, 24 deletions
diff --git a/sandbox/luaconf/lua_conf.cpp b/sandbox/luaconf/lua_conf.cpp
index de205dc..cce922d 100644
--- a/sandbox/luaconf/lua_conf.cpp
+++ b/sandbox/luaconf/lua_conf.cpp
@@ -13,7 +13,10 @@ using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
- _tprintf(_T("Hello world\n"));
+ lua_State* config = luaL_newstate();
+ if(config)
+ {
+ }
return nRetCode;
}
diff --git a/sandbox/luaconf/lua_conf.vcproj b/sandbox/luaconf/lua_conf.vcproj
index 2d72136..1fde5c6 100644
--- a/sandbox/luaconf/lua_conf.vcproj
+++ b/sandbox/luaconf/lua_conf.vcproj
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8.00"
+ Version="8,00"
Name="lua_conf"
ProjectGUID="{66A24518-ACE0-4C57-96B0-FF9F324E0985}"
RootNamespace="lua_conf"
@@ -46,7 +46,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src;$(ProjectDir)\..\..\windirstat"
PreprocessorDefinitions="__NOT_WDS;WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@@ -127,7 +127,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src;$(ProjectDir)\..\..\windirstat"
PreprocessorDefinitions="__NOT_WDS;WIN32;_DEBUG;_CONSOLE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
@@ -207,7 +207,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src;$(ProjectDir)\..\..\windirstat"
PreprocessorDefinitions="__NOT_WDS;WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
UsePrecompiledHeader="2"
@@ -288,7 +288,7 @@
/>
<Tool
Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src"
+ AdditionalIncludeDirectories="$(ProjectDir)\..\..;$(ProjectDir)\..\..\lua\src;$(ProjectDir)\..\..\windirstat"
PreprocessorDefinitions="__NOT_WDS;WIN32;NDEBUG;_CONSOLE"
RuntimeLibrary="0"
UsePrecompiledHeader="2"
diff --git a/sandbox/luaconf/stdafx.h b/sandbox/luaconf/stdafx.h
index 0df34b1..fa55c74 100644
--- a/sandbox/luaconf/stdafx.h
+++ b/sandbox/luaconf/stdafx.h
@@ -23,23 +23,24 @@
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
-#ifndef VC_EXTRALEAN
-#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-#endif
-
-#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
-
-// turns off MFC's hiding of some common and often safely ignored warning messages
-#define _AFX_ALL_WARNINGS
-
-#include <afxwin.h> // MFC Core
-#include <afxext.h> // MFC Extensions
-
-#include <afxdtctl.h> // MFC IE 4
-#include <afxcmn.h> // MFC Common Controls
-#include <afxtempl.h> // MFC Container classes
-#include <afxmt.h> // MFC Multi-threading
-#include <afxinet.h> // For CInternet* classes
-
+#ifndef VC_EXTRALEAN
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
+#endif
+
+#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
+
+// turns off MFC's hiding of some common and often safely ignored warning messages
+#define _AFX_ALL_WARNINGS
+
+#include <afxwin.h> // MFC Core
+#include <afxext.h> // MFC Extensions
+
+#include <afxdtctl.h> // MFC IE 4
+#include <afxcmn.h> // MFC Common Controls
+#include <afxtempl.h> // MFC Container classes
+#include <afxmt.h> // MFC Multi-threading
+#include <afxinet.h> // For CInternet* classes
+
#include <stdio.h>
#include <tchar.h>
+#include <WDS_Lua_C.h>