Author Topic: SrcFileCcl Add-In  (Read 417 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1612
SrcFileCcl Add-In
« on: November 04, 2016, 03:18:37 PM »
This is a Add-In for testing purposes, to check if source can compiled with cl.exe too.

Create SrcFileCcl.ini to user documents folder with correct paths and options
Code: [Select]
ccpath=c:\code\msvc2015\bin\cl.exe -GS- -MD
link_opt=-libpath:C:\code\msvc2015\lib -subsystem:console kernel32.lib user32.lib msvcrt.lib

ccpath=c:\code\msvc2015\bin\amd64\cl.exe -GS- -MD
link_opt=-libpath:C:\code\msvc2015\lib\x64 -subsystem:console kernel32.lib user32.lib msvcrt.lib
Menu option Syntax check add -c -Zs to commandline

EDIT 2016-11-05 toolbar buttons and support for second compiler  like x64, setting dialog variable size

EDIT 2016-11-10 Syntax check optional and support for local ini-file and PATH variable.
 Now this is possible with SrcFileCcl:
Code: [Select]
ccpath="C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe" -GS- -MD -Gz -Drestrict=__restrict -Dinline=__inline
path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

link_opt=-libpath:C:\code\PellesC8\lib -subsystem:console kernel32.lib user32.lib msvcrt.lib

EDIT: 2016-11-12 quotation marks around filename

Windows 7 users can use it without true installation MS Visual C++ 2015 for VC2015RTM
Just copy necessary files from DVD to user folders.
Code: [Select]
path=c:\code\MSVC2015RTMdump tools here too.
« Last Edit: June 18, 2017, 02:06:07 PM by TimoVJL »
May the source be with you