Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem in linking files to Test code in Eclipse(Eclipse-Linux user)
Problem in linking files to Test code in Eclipse [message #1758508] Wed, 29 March 2017 13:02
Raunak Gupta is currently offline Raunak GuptaFriend
Messages: 1
Registered: March 2017
Junior Member
Hello Friends,

I am a newbee in this fied and therefore ned some help to advance. I am using eclipse in Ubuntu platform. I have an already writteh source code in my project src folder. It has already writted build and run bash scripts for execution. I need to test that code using Catch unit framework (C++).

I need to create test cases for some src folder files and need to write these test cases in a different test folder. Now the porblem is I am trying to include those src folder files into my test case .cpp files but problem is everytime when I am trying to create a CmakeList.txt and run cmake, the terminal gives error related to including src folder files and other linker libraries associated with it.

Can anyone help me to overcome my problem. Thanking you in advance.

  • Attachment: eclipse.PNG
    (Size: 58.37KB, Downloaded 103 times)
Previous Topic:Check constraints are NOT listed in DDL
Next Topic:org.eclipse.wst.server.core is missing
Goto Forum:

Current Time: Tue Jun 22 22:36:03 GMT 2021

Powered by FUDForum. Page generated in 0.02910 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top