[cmake-developers] [CMake 0013132]: FindPkgConfig.cmake not setting PKG_CONFIG_FOUND
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13132 == Reported By:Rex Dieter Assigned To: == Project:CMake Issue ID: 13132 Category: Modules Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2012-04-14 21:43 EDT Last Modified: 2012-04-14 21:43 EDT == Summary:FindPkgConfig.cmake not setting PKG_CONFIG_FOUND Description: issue http://public.kitware.com/Bug/view.php?id=13125 isn't quite fixed yet (and I couldn't figure out a way to reopen that one). from FindPackageHandleStandardArgs.cmake: # It also sets the UPPERCASED_NAME_FOUND variable. notice the *UPPERCASED* part, so what's in FindPkgConfig.cmake now: set(PKG_CONFIG_FOUND ${PkgConfig_FOUND}) does not work, but set(PKG_CONFIG_FOUND ${PKGCONFIG_FOUND}) does work. == Issue History Date ModifiedUsername FieldChange == 2012-04-14 21:43 Rex Dieter New Issue == -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [CMake] Copying Files into build-dir under Visual Studio vs. Codeblocks/Win32 vs. Codeblocks/Linux
Here is the solution I ended up: foreach (_file ${DATA_TO_COPY}) add_custom_command ( TARGET your_target POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/path_to_data/${_file} ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${_file} ) endforeach() -- View this message in context: http://cmake.3232098.n2.nabble.com/Copying-Files-into-build-dir-under-Visual-Studio-vs-Codeblocks-Win32-vs-Codeblocks-Linux-tp7271857p7466283.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Using CMake with SWIG and Ruby
Bumping to the top, still looking for some help. On Tue, Apr 10, 2012 at 9:52 PM, Dev Guy devguy...@gmail.com wrote: Hi Guy, with all my searching and reading I've have not been able to find a way to build a Ruby extension using SWIG with CMake. Here is my CMakeLists.txt CMAKE_MINIMUM_REQUIRED(VERSION 2.8) PROJECT(RUBY_WRAPPER) FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) FIND_PACKAGE(Ruby) INCLUDE_DIRECTORIES(${RUBY_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) SET(CMAKE_SWIG_FLAGS -c++) SET_SOURCE_FILES_PROPERTIES(person.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(person.i PROPERTIES SWIG_FLAGS -includeall) SWIG_ADD_MODULE(person ruby person.i person.cpp) SWIG_LINK_LIBRARIES(person ${RUBY_LIBRARY}) When I type make, I get the following error: [ 33%] Swig source /home/yadav/dev/cpp/swig_example/person.h:19: Error: Unable to find 'string' make[2]: *** [personRUBY_wrap.cxx] Error 1 make[1]: *** [CMakeFiles/person.dir/all] Error 2 make: *** [all] Error 2 -- Kind Regards, Rajinder Yadav SafetyNet Test Driven Development http://safetynet.devmentor.org -- Kind Regards, Rajinder Yadav SafetyNet Test Driven Development http://safetynet.devmentor.org -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, master, updated. v2.8.7-857-g38ebdf0
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 38ebdf0c33269a364901d6591aea6ac9f0d4e508 (commit) from b4cb977f76d40e83540a06f4c60bfb2957b1b82c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=38ebdf0c33269a364901d6591aea6ac9f0d4e508 commit 38ebdf0c33269a364901d6591aea6ac9f0d4e508 Author: KWSys Robot kwro...@kitware.com AuthorDate: Sun Apr 15 00:01:14 2012 -0400 Commit: KWSys Robot kwro...@kitware.com CommitDate: Sun Apr 15 00:05:05 2012 -0400 KWSys Nightly Date Stamp diff --git a/Source/kwsys/kwsysDateStamp.cmake b/Source/kwsys/kwsysDateStamp.cmake index 56b3fa2..21bef85 100644 --- a/Source/kwsys/kwsysDateStamp.cmake +++ b/Source/kwsys/kwsysDateStamp.cmake @@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2012) SET(KWSYS_DATE_STAMP_MONTH 04) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 14) +SET(KWSYS_DATE_STAMP_DAY 15) --- Summary of changes: Source/kwsys/kwsysDateStamp.cmake |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits