Comments (8)
Thanks for the input - indeed this one has been bothering me as well.
Adding a general compile command would be a good idea, though I think this separates into two different cases:
- Compilers with compatible arguments to g++, so the compiler can be re-targeted by simply changing the executable.
- Compilers which have different arguments.
This is also complicated somewhat by trying to keep the API relatively similar between POSIX and Windows, though I'm happy to allow some differences as obviously the parameters already differ.
Although adding another argument to RunCompile() is a little clumsy since it needs header & source changes for the build and compile classes (with 2 compile classes so far), I don't find this hard to do myself. However a compile context structure seems a good step now these the function parameters have grown this complex.
I can fairly easily do this work the next time I get a bit of free time, which may take a few days or potentially more. If you'd like to undertake it yourself then feel free to go ahead, or let me know if you want guidance.
from runtimecompiledcplusplus.
Yes adding another parameter is not ideal here. wrapping compile parameters into a struct seems to be a better option. No problem I can take a look at it in the next few days.
from runtimecompiledcplusplus.
I'm interested to find out your opinion about using ProjectSettings instance as the container to pass around compiler settings. The advantage is that it already holds all the compile/link information. Adding new fields is easy too. It can be passed as an argument to BuildTool and RunCompile functions.
There is a down side at the moment too. It is defined as an inner class and is not accessible from other places (BuildTool.h). I've started initially looking at the ways to extract it into it's own class but this seems to be asking for a whole RuntimeObjectSystem overhaul which I don't feel confident to undertake yet.
from runtimecompiledcplusplus.
It's 1am here and I'm not capable of a decent response, so I'll get back to
you when I am :)
On 13 January 2015 at 23:14, kubaroth [email protected] wrote:
I'm interested to find out your opinion about using ProjectSettings
instance as the container to pass around compiler settings. The advantage
is that it already holds all the compile/link information. Adding new
fields is easy too. It can be passed as an argument to BuildTool and
RunCompile functions.
There is a down side at the moment too. It is defined as an inner class
and is not accessible from other places (BuildTool.h). I've started
initially looking at the ways to extract it into it's own class but this
seems to be asking for a whole RuntimeObjectSystem overhaul which I don't
feel confident to undertake yet.—
Reply to this email directly or view it on GitHub
#53 (comment)
.
from runtimecompiledcplusplus.
I think the easiest approach would be to create a new struct, and then use that in the ProjectSettings struct, as this would reduce dependencies.
from runtimecompiledcplusplus.
Hey Doug, hope you haven't started working on this issue.
In the next 1-3 days I will have a pull request regarding this issue - it is almost ready. Unfortunalty I don't have an access to Windows so the custom compiler location will support POSIX systems only.
from runtimecompiledcplusplus.
Thanks! Sounds good - I can do any work for Windows if needed.
On 22 January 2015 at 08:46, kubaroth [email protected] wrote:
Hey Doug, hope you haven't started working on this issue.
In the next 1-3 days I will have a pull request regarding this issue - it
is almost ready. Unfortunalty I don't have an access to Windows so the
custom compiler location will support POSIX systems only.—
Reply to this email directly or view it on GitHub
#53 (comment)
.
from runtimecompiledcplusplus.
Closed via #58
from runtimecompiledcplusplus.
Related Issues (20)
- VS 2017 'GetObject' is not a member of 'IObjectFactorySystem' HOT 7
- Gallery: projects using RuntimeCompiledCPlusCPlus HOT 2
- Webpage moved HOT 1
- Crash in ObjectFactorySystem.cpp line 250 when no RCC++ objects and no logger
- Visual Studio 2019 debug info issue after first recompile
- Question: Use Case: Self-optimization HOT 6
- Remove need for hierarchy of classes with virtual functions in RuntimeTracking
- RUNTIME_COMPILER_SOURCEDEPENDENCY off-by-1 error HOT 2
- Improve FindFile handling of relative file paths
- Stack Cookie Check Failure error HOT 1
- Dynamic loading of generated code without writing to files HOT 2
- Linking compile output back into project HOT 3
- Getting Log: ObjectFactorySystem::AddConstructors() called with no constructors HOT 3
- Question: Modifiable class macro discovery within static libs HOT 8
- Simplify RuntimeCompiledCPlusPlus by loading .dll's in RAM HOT 1
- Games HOT 1
- Runtime Linker issues HOT 7
- Deriving RCCpp Compilation HOT 4
- Runtime Compiled C++ Linker Errors HOT 2
- unresolved external symbols VS2017 RuntimeObjectSystem HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from runtimecompiledcplusplus.