Recent

Author Topic: msbuild  (Read 6190 times)

Fiji

  • Guest
msbuild
« on: July 12, 2014, 07:31:32 pm »
How can I use msbuild with FPC?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: msbuild
« Reply #1 on: July 12, 2014, 08:19:39 pm »
Search msdn instead, look in the docs whether it's possible to execute custom command. But why one would use msbuild for FPC in the first place?

Fiji

  • Guest
Re: msbuild
« Reply #2 on: July 12, 2014, 08:25:35 pm »
Delphi can do it with ease.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: msbuild
« Reply #3 on: July 12, 2014, 08:28:57 pm »
Delphi can do it with ease.
Aaaand...? What's the purpose and benefit?

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: msbuild
« Reply #4 on: July 12, 2014, 08:36:28 pm »
Delphi can do it with ease.

fpc has fpmake there is no reason to use msbuild delphi has no such utility as far as I know so they use msbuild instead. In any case I would advice to stay with delphi is you need msbuild or learn how to use fpcmake.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12326
  • FPC developer.
Re: msbuild
« Reply #5 on: July 12, 2014, 10:00:01 pm »
Delphi can do it with ease.

Delphi migrated to msbuild because of Delphi.NET, and at the time was Windows-only anyway. Still actually, since the IDE is still windows-only.

For OS X targets afaik Delphi generates an XCode project (make based?)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: msbuild
« Reply #6 on: July 13, 2014, 12:47:05 am »
Delphi can do it with ease.

fpc has fpmake there is no reason to use msbuild delphi has no such utility as far as I know so they use msbuild instead. In any case I would advice to stay with delphi is you need msbuild or learn how to use fpcmake.
Watch the difference between fpmake and fpcmake ;)

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: msbuild
« Reply #7 on: July 13, 2014, 03:21:09 am »
Delphi can do it with ease.

fpc has fpmake there is no reason to use msbuild delphi has no such utility as far as I know so they use msbuild instead. In any case I would advice to stay with delphi is you need msbuild or learn how to use fpcmake.
Watch the difference between fpmake and fpcmake ;)

same utility, speed typing makes those kind of errors. my bad.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Fiji

  • Guest
Re: msbuild
« Reply #8 on: July 13, 2014, 06:58:55 am »
Actually I use SublimeText to compile Delphi projects. So I wonder how to compile fpc projects with a command line? Because of unit paths..

Leledumbo

  • Hero Member
  • *****
  • Posts: 8819
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: msbuild
« Reply #9 on: July 13, 2014, 10:01:31 am »
Actually I use SublimeText to compile Delphi projects. So I wonder how to compile fpc projects with a command line? Because of unit paths..
What's so difficult about that? Just write -Fu-s manually or provide local cfg and pass with @.

 

TinyPortal © 2005-2018