Anyone interested in my CMake script?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/06/2012 at 02:14, xxxxxxxx wrote:
Sorry for the long delay. Here's the initial release.
Will get a git repo or so sorted for it soon.http://www.indigorenderer.com/dist/exporters/cindigo/c4d_plugin_cmake_1.0.zip
Any questions, just ask
edit: fixed link
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/10/2012 at 09:04, xxxxxxxx wrote:
A little update.
1.1
* Updated linker options for correct stripping on OS X (see https://developers.maxon.net/forum/topic/6572/7115_symbol-stripping-on-os-x).http://www.indigorenderer.com/dist/exporters/cindigo/c4d_plugin_cmake_1.1.zip
-
On 16/03/2013 at 07:11, xxxxxxxx wrote:
Thanks,
using CMake to build plugins for C4d is a option that I wanted to test...Originally posted by xxxxxxxx
Hi fused,
I am interested in you CMake. Could you please share it with me? I'm on Windows and I refuse to use the Visual Studio IDE! I hope your CMake file can give me a better overview over the c4dsdk and how it needs to be compiled.
Thank you!
-NiklasCan I ask why do you refuse to use VS IDE ?
Will you also do not use Xcode IDE too ? -
On 16/03/2013 at 07:29, xxxxxxxx wrote:
Can't tell you why someone would not want to use an IDE but if you need any help getting my CMake script working, let me know
-
On 16/03/2013 at 07:33, xxxxxxxx wrote:
Hi Remotion,
Originally posted by xxxxxxxx
Can I ask why do you refuse to use VS IDE ?
I am unable to work with the Editor of Visual Studio. I'm used to the behavior of the Notepad++
Editor. Back then, I didn't understand much about C++ and Compilers and I didn't understand
to set up a Project for a new Cinema Plugin. Although I know how to do this now, I'm still
compiling from the command-line. Setting up an environment to start right off coding a plugin
works much faster (at least for me) this way.There's a repository of the command-line scripts I use for achieving this (relieng on Makefiles) on
github. All I do to start a project is to copy the template folder from the repo into the Cinema
plugins folder, rename it and open the command-line.> vcvarsall \> make description DESCNAME=Oplugin \> make plugin DEBUG=1
Originally posted by xxxxxxxx
Will you also do not use Xcode IDE too ?
I'm pretty sure I will also not use XCode. I have tried to keep the Makefiles on the rep above
as abstract as possible. As soon as I have a mac, I will try implement the api\platform\mac.mak file
to compile plugins on the mac. This will (hopefully) allow me to simply copy my plugin structure
to the Mac, run the Makefile and I'll be done without creating an XCode project.Best,
-Niklas -
On 16/03/2013 at 07:42, xxxxxxxx wrote:
Thanks I was able to compile this example for R12,R13,R14 now I need to try to do this for one of my bigger projects.
May be later for very big one like SuperVoxelsWell using comand line or script or CMake for compiling has some advantages.
I am using Notepad++ but mostly to read the code.
Using Notepad++ for coding has a lot of disadvantaged in my opinion, no auto completion, no refactoring and more... -
On 16/03/2013 at 07:48, xxxxxxxx wrote:
@Remotion: That's correct, features like intelli-sense in VS or refactoring are not included in
Notepad++. But hitting these problems helps me writing better code right from the start so I
actually wouldn't need these features.Good old search-and-replace is my best friend, btw.
-
On 16/03/2013 at 07:59, xxxxxxxx wrote:
Nobody can write code that do not need refactoring in (near) future
-
On 16/03/2013 at 08:28, xxxxxxxx wrote:
you should take a look at sublime text 2. it is better than visual studio python in almost
all aspects. the only reasons i have still visual studio python installed, are the watch
feature and stepped interpreation of my code. the refactoring and autocomplete of
sublime text 2 is with plugins are better than the one provided by visual studio python.not sure how the situation is for cpp, but multicursor editors are such much powerful
than single cursor editors, because things like refactoring suddenly become obsolete,
because it is now just typing a new name. and there are freakishly powerfull python
addons for sulime text2/3. like sublimecodeintel or sublimerepl. -
On 16/03/2013 at 08:55, xxxxxxxx wrote:
Well for Python there are probably a lot of options but I am talking about C++.
MultiCursor Editing is possible in VS with an extension too.
How can be refactoring become obsolete if you need to change 10 or even 100 of files at once ?
And of course you only want to change this one member function name that may have the same name as a other member function in another class .... -
On 16/03/2013 at 09:33, xxxxxxxx wrote:
Unfortunately it does not work out of box for Xcode 4.6 and R12, R13, R14...
-
On 17/03/2013 at 06:54, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Unfortunately it does not work out of box for Xcode 4.6 and R12, R13, R14...
My CMake script? No, it won't generate proper XCode projects (can be made to do so tho). That's mostly due to CMakes XCode generator being pretty bad (it requires special settings for XCode instead of just parsing the linker and compiler flags and setting the properties accordingly like the VS generator...).
It's not really a priority for me either as I try to stay away from Macs as far as I can, especially from XCode
I only use make on OS X.
It actually works with R12 and should work fine with R13 and R14, you just need to add it to the main CMakeLists.txt file.