<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><style></style><style type="text/css"> :root #content > #right > .dose > .dosesingle, :root #content > #center > .dose > .dosesingle { display: none !important; }</style></head><body style="background: #FFFFFF; font-family: arial; font-size: 10pt; margin: 0px; padding: 0px;">Hi.<br><br>I'm rather new to KDevelop, so the question is probably very noobish, but I have to ask anyway:<br><br>Right now, I'm using the default shipped template for a small project: Standard --> Terminal --> CMake C++. I also created a header file (my.h) and an additional my.cpp file by right clicking onto the project folder in the projects side pane, and used the create file option. After filling up main.cpp, my.h and my.cpp, with some code, the compiler gives an "undefined reference to" error message to those functions that are declared in my.h and defined in my.cpp.<br><br>After browsing around the project folder created by KDevelop, I noticed that none of the cmake files contain any entry about my newly added my.h and my.cpp files, so I suspect my.cpp is never compiled and/or linked. Could somebody tell me how to add these files to the compile list? Is there an automatic way (if I use the create file option from the menu, it would automatically mark the file to be compiled) for this? Maybe I'm just doing something wrong?<br><br>Or maybe I'm just too noob and asking too silly questions. If it is so, please correct me, I'd appreciate any useful input.<br><br>Thanks in advance!<br><br>--<br>----Robert Puskas----<br>-=pusrob@vipmail.hu=-<br> </body></html>