Re: [CMake] Using CMake with SWIG and Ruby

2012-04-14 Thread Dev Guy
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] Using CMake with SWIG and Ruby

2012-04-10 Thread Dev Guy
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)

[CMake] how to specify a different source directory

2012-02-02 Thread Dev Guy
I have a project file and within it I have created a test folder and placed some testing code there. From my test CMakelist, I need to access a .cpp file from the parent folder but I am not sure how to do this? Thus the call to add_executable fails because it can't locate the source file. --

Re: [CMake] how to specify a different source directory

2012-02-02 Thread Dev Guy
On Thu, Feb 2, 2012 at 7:46 PM, Dev Guy devguy...@gmail.com wrote: I have a project file and within it I have created a test folder and placed some testing code there. From my test CMakelist, I need to access a .cpp file from the parent folder but I am not sure how to do this? Thus the call

[CMake] syntax error on Win7 x64

2012-01-31 Thread Dev Guy
I am seeing an error from CMake on Win7 x64 that I don't see in WinXP. The following 2 statements seems to be causing the errors below (I've double checked that the environment var MSSDK_ROOT exists and is defined). include_directories(${ENV[MSSDK_ROOT]}\\Include)

Re: [CMake] syntax error on Win7 x64

2012-01-31 Thread Dev Guy
OK I realized my error, I should be using $ENV{MSSDK_ROOT} On Wed, Feb 1, 2012 at 12:02 AM, Dev Guy devguy...@gmail.com wrote: I am seeing an error from CMake on Win7 x64 that I don't see in WinXP. The following 2 statements seems to be causing the errors below (I've double checked

[CMake] building libs and specifying addition folders

2012-01-18 Thread Dev Guy
Hi, I am relatively new to CMake and I've read the tutorial. However I have a few questions. 1. How can I declare a CMakeLists file to create a project to build a DLL or static lib ? I assume if I build a DLL on windows, it will build as a shared lib on Linux 2. If my main source folder has 2

Re: [CMake] Fwd: building libs and specifying addition folders

2012-01-18 Thread Dev Guy
On Thu, Jan 19, 2012 at 1:01 AM, John Drescher dresche...@gmail.com wrote: -- Forwarded message -- From: John Drescher dresche...@gmail.com Date: Thu, Jan 19, 2012 at 1:00 AM Subject: Re: [CMake] building libs and specifying addition folders To: Dev Guy devguy...@gmail.com