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

How do you determine the latest SVN revision number rooted in a directory?

One way. When you check out the code, look at the last line of svn output: $ svn up …stuff… Updated to revision 66593. A more direct way: $ svn info Path: . URL: https://svn.example.com/svn/myproject/trunk Repository Root: https://svn.example.com/svn/ Repository UUID: d2a7a951-c712-0410-832a-9abccabd3052 Revision: 66593 Node Kind: directory Schedule: normal Last Changed Author: bnguyen Last Changed Rev: … Read more

which build tool(s) do you recommend for python? [closed]

(Edit: Avoid “premature” optimization advice. The recommendations for tooling in this answer are now outdated: PEP-0632.) If it is at all possible, I’d suggest avoiding extension modules(C/cython) in the beginning. Get your all code written in Python, use a simple distutils based configuration, run your tests using -m (python -m mypkg.test.testall, or whatever; import unittest). … Read more