Premake (.lua) <> syncProj (.cs => c++) and smoother integration into Visual Studio...

40 views
Skip to first unread message

Tarmo Pikaro

unread,
Feb 2, 2019, 6:06:28 AM2/2/19
to Premake Development
Hi !

Like you all probably know premake5 at the moment is generation only tool. It can generate .sln / .vcxproj / .csproj from .lua script.

In my own tool (syncProj tool, https://docs.google.com/document/d/1C1YrbFUVpTBXajbtrC62aXru2om6dy5rClyknBj5zHU/edit, scripting is based on C# script) - I have added also support for being able to perform reverse operation - that's 
produce project script (.cs) from original project files (.sln / .vcxproj, supporting C++ at the moment) - even thus it was rather experimental 
feature, I found it quite useful - being able to "look" to project / solution source code, and continue editing and make project generation again.

Currently I found that syncProj is already mature enough to expand to new features - and currently I want to move into two directions:

1. Replace main scripting language from C# to C++
2. Get easier integration with Visual studio.

I have collected all ideas / how to implement into following document:

C++ as scripting language


I don't consider cmake as serious programming language, merely because of it's odd cmake dialect, but I do consider .lua (and premake as well) as good alternative 
for scripting - that's why I won't post this message to any cmake forum, but do post here.

How does this relate to premake ?

Well - there could be several overlapping targets - Visual studio extension, which I'm prototyping at the moment could be in theory reused by premake5, so
if you have ideas of what could be done in common / in parallel, and you have free time and programming skills to contribute, feel free to contact me.

(Can give you even write access to document above).


Reply all
Reply to author
Forward
0 new messages