Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Project tool and non-cpp file extensions

    Cinema 4D SDK
    2
    4
    937
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sgeggie
      last edited by sgeggie

      I'm using the project tool to build a plugin. I'd like to reuse a library built in my regular project structure, but I'm having a bit of trouble adding it to the Project Tool structure.
      Critically, it seems like source files added to a project with "Include.Win=" must have either .h or .cpp extensions. At least, all of the files I try to add with a .cc extension aren't taking.
      I should also mention that I am adding files outside of the sdk directory using "../../../../../" style paths, which I know is not recommended, but has worked well for all of my .cpp files. Could this be the problem?
      Before I start extensively copying and renaming, is my assumption correct? Is there no way to force the tool to add a .cc file to my project? If so, is this documented anywhere?

      Regards,
      Sean

      1 Reply Last reply Reply Quote 0
      • a_blockA
        a_block
        last edited by

        Hi Sean,

        I'm afraid currently the project tool does not consider .cc extensions. I'm also not aware of any option.
        But I asked our development, if there might be a hidden option and otherwise it could be considered for a future version of the project tool. I'll keep you updated here.

        Cheers,
        Andreas

        1 Reply Last reply Reply Quote 1
        • a_blockA
          a_block
          last edited by

          Update: Support for .cc file extension was added and will come with the next release of the project tool.

          1 Reply Last reply Reply Quote 1
          • S
            sgeggie
            last edited by

            That's great, Andreas. Thanks! I'll kludge on until then.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post