Recursive CMake search for header and source files

You’re probably missing one or more include_directories calls. Adding headers to the list of files in the add_executable call doesn’t actually add then to the compiler’s search path – it’s a convenience feature whereby they are only added to the project’s folder structure in IDEs. So, in your root, say you have /my_lib/foo.h, and you … Read more

Visual Studio post build events stuck waiting for executable to finish before running app in debug mode

I also found that the start trick didn’t work and downloading a separate tool to complete such a simple task seemed excessive. After some additional searching I found this SO post which gave an answer that worked for my needs. Just replace <actual-command-line-to-run> with your command. Remember to give the full path to the executable … Read more

In Team foundation server what is build agent and controller?

In TFS, the build system consists of two main constructs: the Build controller and the Build agents. The Controller’s job is to queue build requests and send them to the “most available” build agent. The Agent’s job is to perform the actual build. This setup allows you to easy grow into a “Build Farm”, which … Read more

How do I upgrade the version of a maven plugin?

Even though this has already gotten the “approved answer”, it turns out that there is this AWESOME versions plugin that handles the neverending version maintenance problem. For those lazy people here are some of its goals: versions:display-dependency-updates scans a project’s dependencies and produces a report of those dependencies which have newer versions available. versions:display-plugin-updates scans … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)