Re: [CMake] Add -lrt at the end of link.txt

2014-01-07 Thread Jakub Zakrzewski
Hello, I recommend reading some kind of CMake tutorial to get at least the basic concepts. In the mean time: --- CMakeLists.txt --- cmake_minimum_required(VERSION 2.8.6) project(oci_object_test) set(ORCLIB_HOME /home/jzakrzewski/local/ocilib/usr/local) include_directories(${ORCLIB_HOME}/include

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
No, it's not as simple as it looks like, because the project name and repository name itself starts with MP* So, to rename a directory or two it's ok, but not if we must change the complete infrastructure. ;-) Is there no way to execute some commands after the creation is finished? E.g. Some p

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
Sure, but in the meanwhile I need a workaround too. > Am 07.01.2014 um 18:20 schrieb Bill Hoffman : > >> On 1/7/2014 11:12 AM, NoRulez wrote: >> Hello, >> >> is there a simple way to replace the slashes (directory delimiter) with >> backslashes for include paths after or during the generation o

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread David Cole
It may be ugly, it may be painful, you might not like it but isn't the simple workaround to rename the directory (or copy its contents to an alternate location) such that it does not have a "/MP" in it? -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread Bill Hoffman
On 1/7/2014 11:12 AM, NoRulez wrote: Hello, is there a simple way to replace the slashes (directory delimiter) with backslashes for include paths after or during the generation of *.vcxproj files? The problem which is described here exists in VS2012 and VS2013:http://connect.microsoft.com/Vis

[CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread NoRulez
Hello, is there a simple way to replace the slashes (directory delimiter) with backslashes for include paths after or during the generation of *.vcxproj files? The problem which is described here exists in VS2012 and VS2013: http://connect.microsoft.com/VisualStudio/feedback/details/778367/vc-2

Re: [CMake] Add -lrt at the end of link.txt

2014-01-07 Thread Cedric Doucet
Thank you very much for your answer. I am sorry I am a beginner in cmake. What does target represent and where can I find it in CMakeLists.txt? Best regards, Cédric Doucet - Mail original - > De: "Rolf Eike Beer" > À: cmake@cmake.org > Envoyé: Mardi 7 Janvier 2014 16:18:47 > Objet: Re:

Re: [CMake] Add -lrt at the end of link.txt

2014-01-07 Thread Rolf Eike Beer
Am 07.01.2014 12:56, schrieb Cedric Doucet: He llo, I would like to know how to add "-lrt" at the end of link.txt. I tried to do that by modifying CMakeLists.txt. I added the following lines:

[CMake] Add -lrt at the end of link.txt

2014-01-07 Thread Cedric Doucet
He llo, I would like to know how to add "-lrt" at the end of link.txt. I tried to do that by modifying CMakeLists.txt. I added the following lines: list(APPEND CMAKE_CXX_FLAGS "-l