From 2cf6960074844db449c946bacb4a32bb4647caaf Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 30 Sep 2011 15:26:31 +0000 Subject: [PATCH] Create setup.h when building wxscintilla library. This library includes some wx headers and so setup.h must be available when it's being compiled but there was no rule to copy it in its projects, so add it now. Closes #13526. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- build/bakefiles/scintilla.bkl | 2 +- build/msw/wx_vc7_wxscintilla.vcproj | 166 ++++++++++++++++++++ build/msw/wx_vc8_wxscintilla.vcproj | 210 +++++++++++++++++++++++++ build/msw/wx_vc9_wxscintilla.vcproj | 210 +++++++++++++++++++++++++ build/msw/wx_wxscintilla.dsp | 233 ++++++++++++++++++++++++++++ 5 files changed, 820 insertions(+), 1 deletion(-) diff --git a/build/bakefiles/scintilla.bkl b/build/bakefiles/scintilla.bkl index cd1e8aac6b..d59ac7a5d2 100644 --- a/build/bakefiles/scintilla.bkl +++ b/build/bakefiles/scintilla.bkl @@ -42,7 +42,7 @@ WXUSINGDLL - $(SETUPHDIR) diff --git a/build/msw/wx_vc7_wxscintilla.vcproj b/build/msw/wx_vc7_wxscintilla.vcproj index 720e48f777..757e0cd742 100644 --- a/build/msw/wx_vc7_wxscintilla.vcproj +++ b/build/msw/wx_vc7_wxscintilla.vcproj @@ -785,6 +785,172 @@ RelativePath="..\..\src\stc\scintilla\src\XPM.cxx"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/msw/wx_vc8_wxscintilla.vcproj b/build/msw/wx_vc8_wxscintilla.vcproj index 744db83e73..2ea1979ae7 100644 --- a/build/msw/wx_vc8_wxscintilla.vcproj +++ b/build/msw/wx_vc8_wxscintilla.vcproj @@ -1096,6 +1096,216 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/msw/wx_vc9_wxscintilla.vcproj b/build/msw/wx_vc9_wxscintilla.vcproj index 816e5a5493..d7960df3e6 100644 --- a/build/msw/wx_vc9_wxscintilla.vcproj +++ b/build/msw/wx_vc9_wxscintilla.vcproj @@ -1092,6 +1092,216 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/msw/wx_wxscintilla.dsp b/build/msw/wx_wxscintilla.dsp index b285441ce1..2aa565df43 100644 --- a/build/msw/wx_wxscintilla.dsp +++ b/build/msw/wx_wxscintilla.dsp @@ -652,6 +652,239 @@ SOURCE=..\..\src\stc\scintilla\src\WindowAccessor.cxx # Begin Source File SOURCE=..\..\src\stc\scintilla\src\XPM.cxx +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=..\..\include\wx\msw\genrcdefs.h + +!IF "$(CFG)" == "wxscintilla - Win32 DLL Universal Release" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswunivu\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswunivu\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswunivud\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswunivud\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Release" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswu\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswu\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_dll\mswud\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_dll\mswud\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Release" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswunivu\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivu\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswunivud\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivud\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Release" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswu\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswu\wx\msw\rcdefs.h" + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h +InputPath=..\..\include\wx\msw\genrcdefs.h + +"..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h" : "$(SOURCE)" "..\..\lib\vc_lib\mswud\wx\msw" + cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswud\wx\msw\rcdefs.h" + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\include\wx\msw\setup.h + +!IF "$(CFG)" == "wxscintilla - Win32 DLL Universal Release" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Debug" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Release" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswu\wx\setup.h +InputPath=..\..\include\wx\msw\setup.h + +"..\..\lib\vc_dll\mswu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_dll\mswu\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswud\wx\setup.h +InputPath=..\..\include\wx\msw\setup.h + +"..\..\lib\vc_dll\mswud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_dll\mswud\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Release" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Debug" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Release" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswu\wx\setup.h +InputPath=..\..\include\wx\msw\setup.h + +"..\..\lib\vc_lib\mswu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_lib\mswu\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswud\wx\setup.h +InputPath=..\..\include\wx\msw\setup.h + +"..\..\lib\vc_lib\mswud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_lib\mswud\wx\setup.h + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\include\wx\univ\setup.h + +!IF "$(CFG)" == "wxscintilla - Win32 DLL Universal Release" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivu\wx\setup.h +InputPath=..\..\include\wx\univ\setup.h + +"..\..\lib\vc_dll\mswunivu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_dll\mswunivu\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Universal Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_dll\mswunivud\wx\setup.h +InputPath=..\..\include\wx\univ\setup.h + +"..\..\lib\vc_dll\mswunivud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_dll\mswunivud\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Release" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 DLL Debug" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Release" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivu\wx\setup.h +InputPath=..\..\include\wx\univ\setup.h + +"..\..\lib\vc_lib\mswunivu\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_lib\mswunivu\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Universal Debug" + +# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivud\wx\setup.h +InputPath=..\..\include\wx\univ\setup.h + +"..\..\lib\vc_lib\mswunivud\wx\setup.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + copy "$(InputPath)" ..\..\lib\vc_lib\mswunivud\wx\setup.h + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Release" + +# Begin Custom Build - + +# End Custom Build + +!ELSEIF "$(CFG)" == "wxscintilla - Win32 Debug" + +# Begin Custom Build - + +# End Custom Build + +!ENDIF + # End Source File # End Group # End Target -- 2.47.2