Author Topic: cctest project missing from Contrib workspace?  (Read 4161 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
cctest project missing from Contrib workspace?
« on: April 25, 2017, 02:13:28 am »
Is the cctest project missing from Contrib workspaces on purpose?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: cctest project missing from Contrib workspace?
« Reply #1 on: April 25, 2017, 02:29:26 am »
Is the cctest project missing from Contrib workspaces on purpose?

Tim S.
My point is that cctest is only for test, so only developer need to build it. So, no need to put it in that workspace.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: cctest project missing from Contrib workspace?
« Reply #2 on: April 25, 2017, 03:45:22 am »
Is the cctest project missing from Contrib workspaces on purpose?

Tim S.
My point is that cctest is only for test, so only developer need to build it. So, no need to put it in that workspace.

OK, Did you know it was in all of the CodeBlocks workspaces? Example: CodeBlocks.workspace

Your answer implies it should NOT be in them.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: cctest project missing from Contrib workspace?
« Reply #3 on: May 01, 2017, 09:59:37 am »
Sorry for the late reply.

OK, Did you know it was in all of the CodeBlocks workspaces? Example: CodeBlocks.workspace
Your answer implies it should NOT be in them.
Correct, from my point of view, a normal user don't need to build this application.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.