C language > User contributions
TLIDE
TimoVJL:
TLIDE Tiny Lousy IDE :)
Minimal IDE for testing one file code with different compilers, not for seriuos work ;)
I made it for small testing purposes.
If local TLIDE.ini exists, it is used, otherwise ini-file from current user document folder is used.
Options dialog option Local force saving to local ini-file.
TLIDE.ini
[path]
ccpath= current compiler path and options
path= current path for compiler PATH , optional
include= current include path for INCLUDE
[link]
link_path= current linker, optional
link_opt= current options for linker
[path64] for second options
[link]
[options]
check_only=1 check only insert -Zs to compiler commandline
--- Code: ---[path]
ccpath=hjwasm64.exe -coff
ccpath1=hjwasm64.exe
ccpath2=hjwasm64.exe -coff
path=c:\code\HJWasm
path1=c:\code\HJWasm
include=
[link]
link_path=c:\code\PellesC8\bin\polink.exe
link_path1=c:\code\PellesC8\bin\polink.exe
link_opt=-subsystem:windows
link_opt1=-subsystem:windows -libpath:c:\code\PellesC8\lib\Win
link_opt2=-subsystem:console -libpath:c:\code\PellesC8\lib
[options]
check_only=1
[Font1]
FaceName=Lucida Console
Size=12
[Font2]
FaceName=Lucida Console
Size=12
--- End code ---
EDIT: TLIDE_a2.zip Now Build -> Local options... creates empty ini-file, if it doesn't exists.
EDIT: TLIDE_a3.zip Accelerator keys and Execute open cmd.exe if runs without target file.
EDIT: TLIDE_WS_a7.zip fix use thread for executing exe and compiler
jj2007:
Not lousy at all, Timo! I have a plugin for my IDE that does very similar things, so I know how useful that can be...
frankie:
Nice job Timo :)
Please to allow use of fSDK in compilation change in RunCcDlg.c the line:
--- Code: ---#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commctrl.h>
#include <shfolder.h>
--- End code ---
With:
--- Code: ---#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <commctrl.h>
#ifndef __FSDK__ //If using standard PellesC headers
#include <shfolder.h> //Use shfolder
#else
#include <ShlObj.h> //For fSDK use shlObj.h
#endif
--- End code ---
;)
TimoVJL:
OK. That shfolder.h is deprecated, so in next version it is removed totally, replaced with
--- Code: ---HRESULT WINAPI SHGetFolderPathA(HWND, int, HANDLE, DWORD, LPSTR);
HRESULT WINAPI SHGetFolderPathW(HWND, int, HANDLE, DWORD, LPWSTR);
#ifdef UNICODE
#define SHGetFolderPath SHGetFolderPathW
#else
#define SHGetFolderPath SHGetFolderPathA
#endif
#define CSIDL_PERSONAL 0x0005
--- End code ---
Vortex:
I agree with Jochen. Not lousy at all. Keep up the nice work Timo.
Navigation
[0] Message Index
[#] Next page
Go to full version