Running a program/script from QMake

It looks like QMAKE_POST_LINK works well for this sort of thing. This seems to get the job done. my_batch_file.bat runs when nmake runs (rather than when qmake runs) and I don’t need to do anything funny with placeholder targets or files. It’s quite likely that I don’t need all of the items listed in ‘CONFIG’. … Read more

What is the default generator for CMake in Windows?

The following is from the CMake Source (version 2.8.4: cmake.cxx: starting line 2039): // Try to find the newest VS installed on the computer and // use that as a default if -G is not specified std::string vsregBase = “[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\”; struct VSRegistryEntryName { const char* MSVersion; const char* GeneratorName; }; VSRegistryEntryName version[] = { {“6.0”, … Read more