vs2012-ide-integration ( with better examples)

2014-09-18 Thread nicholas ferguson
Hi,

I built in Visual Studio, using native compilers.modules sc and cui and all
of their dependencies. This build is separate from libreoffice make files
and cygwin.  It doesn't require references to make files or cygwin.

 

I also was able to build a debug mode in cygwin using this in autogen.input

(1)-enable-dbgutil, 

(2)compiled boost, independently and gave a path to its libs, using the
-with-boost-libdir

 

If I send you my notes, could you tweak your vs2012-ide-integration, to a
vs2012native-ide-integration ( or any name you choose) so that we could
generate those projects?  

 

The early examples.were initial attempts.  This example uses more data from
Library.mk and the output from your vs2012-ide-integration

 

My names for built libraries are different.. I did that to prove that my
builds were not traversing over into cygwin builds.

 

I'm rushing off.sorry I had to send three separate emails.

 

=
for (built).. notes to collect data for visual studio projects
collected from both Library make file and output from vs2012-ide-integration
=

C:/cygwin64/home/lo/master/workdir/UnpackedTarball/boost;C:/cygwin64/home/lo/master/include;C:/PROGRA~2/Java/JDK18~1.0_2/include/win32;C:/PROGRA~2/Java/JDK18~1.0_2/include;C:/PROGRA~2/MIA713~1/Windows/v7.0A/include;C:/PROGRA~2/MICROS~1.0/VC/include;C:/PROGRA~2/MI0FC3~1/include;C:/cygwin64/home/lo/master/config_host;C:/cygwin64/home/lo/master/formula/source/core/inc;C:/cygwin64/home/lo/master/workdir/UnoApiHeadersTarget/udkapi/normal;C:/cygwin64/home/lo/master/workdir/UnoApiHeadersTarget/offapi/normal;

C:\cygwin64\home\lo\master\formula\source\core\inc

$(eval $(call gb_Library_set_componentfile,for,formula/util/for))

INTEL;OPTIMIZE;_X86_;_CRT_NONSTDC_NO_DEPRECATE;CPPU_ENV;WNT;NOMINMAX;NDEBUG;_CRT_SECURE_NO_DEPRECATE;WIN32;RTL_USING;BOOST_MEM_FN_ENABLE_CDECL;FORMULA_DLLIMPLEMENTATION;_WIN32_IE;_DLL;_REENTRANT;WINVER0x0400;OSL_DEBUG_LEVEL;_MT;_CRT_NON_CONFORMING_SWPRINTFS;SUPD;LIBO_INTERNAL_ONLY;

comphelper \ (built)
cppu \ built)
cppuhelper \  built)
sal \ built)
i18nlangtag \ built)
svl \ built)
svt \   built)
tl \ built)
utl  \ (built)
vcl \ (built)
$(gb_UWINAPI) \ built)


Library.comphelper_t.lib
Library.cppu_t.lib
Library.cppuhelper_t.lib
LIbrary.sal3_t.lib
Library.i18nlangtag_t.lib
Library.svl_t.lib
Library.tl_t.lib
Library.utl_t.lib
Library.vcl_t.lib
Library.uwinapi_t.lib

for_t.vcxproj
Description: XML document


for_t.vcxproj.filters
Description: XML document
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: vs2012-ide-integration ( with better examples)

2014-09-18 Thread Norbert Thiebaud
On Thu, Sep 18, 2014 at 8:18 AM, nicholas ferguson
nicholasfergu...@wingarch.com wrote:

 If I send you my notes, could you tweak your vs2012-ide-integration, to a
 vs2012native-ide-integration ( or any name you choose) so that we could
 generate those projects?


In theory gbuild could be taught to generate this vxproj files...
gbuild is kind of object oriented, so it should be possible to run
make in a way that generate these files and then be able to call make
to build the product using batch invocation of visual studio build...
Ad Hoc construction of these files would not work because they would
become out-of-sync with the build pretty quickly.

Of course the 80/20 rule apply here.. dealing with straight c++
compile + link is relatively easy.. dealing with all the other corner
case fo the build is the hard part that would require substantial
hacking to create visual-studio custom build rules than can then be
invoked in a 'sln'...

As I said in theory it is doable, but it is much more work to do
completely than it looks at first sight... of course an incremental
approach may be possible.. dealing with low hanging fruit first (iow
module that do not have 'fancy' build step.. iow only straight forward
compile + link) so that at least one could have a 'sln' that can do
partial rebuild and debugging...) It just happen that no-one has felt
the urge to scratch that particular hitch... most dev avoid as much as
possible that awful platform. competent, motivated hacker that enjoy
windows is, unsurprisingly, a rare breed...

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice