Re: [CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-12 Thread Olumide
Thanks Nils. BTW, shouldn't that be ContinuumTransfunctioner$<$:_d> Transmogrifier$<$:_d> Thanks, - Olumide On 12/04/2017 15:56, Nils Gladitz wrote: On 04/12/2017 04:49 PM, Olumide wrote: set(Libraries ContinuumTra

Re: [CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-12 Thread Olumide
if (CMAKE_BUILD_TYPE STREQUAL "Debug") SET(CMAKE_DEBUG_POSTFIX "_d") endif if (CMAKE_BUILD_TYPE STREQUAL "Release") SET(CMAKE_DEBUG_POSTFIX "") endif Regards, - Olumide On 12/04/2017 12:56, Volker Enderlein wrote: Am 12/04/2017 um 13:28 schrieb Olumide: se

Re: [CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-12 Thread Olumide
Thanks Robert. However it appears that the release build is linking against ContinuumTransfunctioner_d and Transmogrifier_d. How can I omit the _d suffix in the release build. Regards, - Olumide On 11/04/2017 19:50, Robert Maynard wrote: CMAKE_DEBUG_POSTFIX is only used by CMake when

[CMake] Directing cmake to link against shared object with debug postfix (_d)

2017-04-11 Thread Olumide
Transfunctioner_d.so and libTransmogrifier_d.so both exist. The problem is that the current project appears to be linking against the static library without the _d suffix and complains: /usr/bin/ld: cannot find -lContinuumTransfunctioner How can I direct cmake to link against shared object with debug postfix (_d

[CMake] Setting the argument of INCLUDE_DIRECTORIES from the command line

2012-10-20 Thread Olumide
running cmake? - OLumide -- 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

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-08 Thread Olumide
Olumide wrote: I've still got a few odd's and ends to take care of. To begin with, the target application (Autodesk Maya) refuses to lead the plugin because its unable to find an initialize function which is included in the source file pluginMain.cpp. Specifically, the output should have

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-07 Thread Olumide
Olumide wrote: Olumide wrote: The directory C:\Work\Demo\TestTexturePlugin\CMakeFiles now contains, among other files, Makefile2, which I assume is the NMake Makefile, and Makefile.cmake. Where can I find more information about these files. I'm not sure which files I need to perform

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
The command prompt can be found from your start menu: Start Menu - All Programs - Microsoft Visual Studio 2005 - Visual Studio Tools - Visual Studio 2005 Command Prompt. This will give you a regular windows command prompt with all environment variables set up in order for you to be able to

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Bill Hoffman wrote: I've started the visual studio (.NET 2003) command prompt as you described and typed the commands cmake -GUnix Makefiles C:\Work\Demo\TestTexturePlugin cmake -GNMake Makefiles C:\Work\Demo\TestTexturePlugin in it, but I still got the errors: CMAKE_CXX_COMPILER CMake Error:

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
-GNMake Makefiles C:\Work\Demo\TestTexturePlugin produces the familiar list of errors. - Olumide PS: my understanding of what a build tree is; from: http://ecos.sourceware.org/docs-2.0/user-guide/build-tree.html Build tree: the directory hierarchy in which all generated files are placed

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-06 Thread Olumide
Bill Hoffman wrote: Are you running in this directory: C:/Program Files/Common Files/System/Mapi/1033? I'm running the tests you've asked me to in this directory. My projects are in another directory. Can you give the version of cmake and exact commands you are running? I have cmake

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-05 Thread Olumide
Olumide wrote: I'm a CMake newbie and I'd appreciate help creating a makefile *from* a Visual Studio .NET 2003 project/solution. I'm trying like to migrate my projects to eclipse and I hope CMake will help make that transition. I'm trying to generate a Unix style (or NMake) Makefile that I

Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

2007-12-04 Thread Olumide
mangled i.e. they read: include_directories( C:/Program C:/Work/Demo/TestTexturePlugin/Files/Alias/Maya6.5/include ) instead of: include_directories( C:/Program Files/Alias/Maya6.5/include C:/Work/Demo/TestTexturePlugin/ ) Regards, - Olumide