NO

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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
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]
[path]
ccpath=c:\code\msvc2015\bin\cl.exe -GS- -MD
include=C:\code\msvc2015\include
[link]
link_opt=-libpath:C:\code\msvc2015\lib -subsystem:console kernel32.lib user32.lib msvcrt.lib

[path64]
ccpath=c:\code\msvc2015\bin\amd64\cl.exe -GS- -MD
include=C:\code\msvc2015\include
[link64]
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
    SrcFileCcl_WS_a4.zip toolbar buttons and support for second compiler  like x64, setting dialog variable size

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

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

EDIT: 2016-11-12 SrcFileCcl_WS_a9.zip 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, 03:06:07 PM by TimoVJL »
May the source be with you