Richard Shaw <hobbes1069@...> writes: > > On Thu, Jul 9, 2015 at 2:32 PM, Bob Bachman <bob_bachman- [email protected]> wrote:Richard Shaw <hobbes1069 <at> ...> writes:> Ok, so that's not what's going on... Is this a custom build of wxWidgets? > Is wx-config located in /usr/bin or somewhere else? We build wxWidgets here. It's not located in /usr/bin. Here's our build > process. > from the wxWidgets-3.0.2 directory, > 1. mkdir buildgtk > 2. cd buildgtk > 3. ../configure --with-gtk --without-gnomeprint > 3. make > The wx-config script is then found in the buildgtk directory. > > Ok, so how did you tell cmake to find wx-config when you were running 2.8.x? It only looks in whatever the default cmake search paths... > > Looking at Modules/FindwxWidgets.cmake > #----------------------------------------------------------------- > # UNIX: Start actual work. > #----------------------------------------------------------------- > # Support cross-compiling, only search in the target platform. > find_program(wxWidgets_CONFIG_EXECUTABLE > NAMES wx-config wx-config-3.0 wx-config-2.9 wx-config-2.8 > DOC "Location of wxWidgets library configuration provider binary (wx-config)." > ONLY_CMAKE_FIND_ROOT_PATH > )---end---Thanks,Richard > >
It's defined in the CMakeLists.txt file and stored in the CMakeCache.txt file. //Path to a program. wxWidgets_CONFIG_EXECUTABLE:FILEPATH=/home/mzx_bldr/mozaix_svn/engineering/c ommon_src/src/wxWidgets-3.0.2/buildgtk/wx-config Thanks, Bob -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
