Re: [CMake] Custom installation of cmake

2019-10-20 Thread Raymond Wan
Hi Mahmood, Did you try typing "./bootstrap --help"? Perhaps something there is what you need? Ray On Sun, Oct 20, 2019 at 2:19 AM Mahmood Naderan via CMake wrote: > > OK and how about custom installation path of cmake? > > > Regards, > Mahmood -- Powered by www.kitware.com Please keep

[CMake] Fwd: Linking GSL to cmake using command line

2019-09-24 Thread Raymond Wan
-- Forwarded message - From: Raymond Wan Date: Wed, Sep 25, 2019 at 12:52 AM Subject: Re: [CMake] Linking GSL to cmake using command line To: Sachithra Weerasooriya Hi Sachi, Then, to be frank, it's not something that CMake's users can help you with. It's (most probably) how the developer

Re: [CMake] complication issue

2019-03-18 Thread Raymond Wan
d doesn't work when build using cmake generated > Makefile. > > On Mon, 18 Mar 2019 at 20:42, Raymond Wan wrote: >> >> >> Hi Ali, >> >> >> On 18/3/2019 1:52 PM, Ali Angle wrote: >> > Issue is described over here: >> > https://stackove

Re: [CMake] complication issue

2019-03-18 Thread Raymond Wan
Hi Ali, On 18/3/2019 1:52 PM, Ali Angle wrote: Issue is described over here: https://stackoverflow.com/questions/55211221/cmake-build-problem-when-building-code-for-avr I'm not too sure what you're talking about in this posting, but I am also not too familiar with AVR. At the beginning

Re: [CMake] Automatically updating Doxygen documentation and making it readily available to users with CMake

2019-02-21 Thread Raymond Wan
Hi Timothy, This is not something I'm very familiar with, but maybe I can still add a little to the discussion by answering both of your messages together. On 21/2/2019 10:18 PM, Timothy Wrona wrote: Perhaps there is a standard location to "install" the documentation when running the

Re: [CMake] My previous message

2018-11-04 Thread Raymond Wan
On 4/11/2018 4:01 PM, Osman Zakir wrote: I tried to do it before, but it won't let me clone the repository without sudo for some reason. I have little experience with Docker -- actually, none. But as several people have hinted to you already, this doesn't seem like a CMake issue. For

Re: [CMake] Installing CMake in Ubuntu Linux from command-line via wget

2018-10-30 Thread Raymond Wan
Hi Osman, On 30/10/2018 6:56 PM, Osman Zakir wrote: Okay, thanks. So how about this as the command? " RUN wget https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.tar.gz  \     && tar xzf cmake-3.12.3-Linux-x86_64.tar.gz  \​     && rm -rf cmake-3.12.3-Linux-x86_64.tar.gz  \​    

Re: [CMake] Ubuntu package versioning

2017-12-18 Thread Raymond Wan
Hi Alexander, On Tue, Dec 19, 2017 at 11:39 AM, Alan W. Irwin wrote: > On 2017-12-18 19:14-0500 wrote: > >> I'm not sure who maintains the Ubuntu cmake package, but I *just* >> installed >> it, and cmake --version reported 3.5.1... a little bit out of date. > > > If

Re: [CMake] my first experiences

2017-06-09 Thread Raymond Wan
Hi Xen, On Fri, Jun 9, 2017 at 3:40 PM, Xen wrote: > I just want to tell you what terrible software CMake is. > > The newest version won't compile on my system. The bootstrapping just won't > complete. Just out of curiosity but is there any reason why you need the "latest

Re: [CMake] Does Makefile generated by CMake support make -jN?

2016-07-12 Thread Raymond Wan
Hi Chao, On Wed, Jul 13, 2016 at 10:54 AM, Chaos Zhang wrote: > I was trying to compile my project using CMake, after CMake generated > Makefile. > I used `/usr/bin/time -v make` to make the Makefile, got the result: > 'Percent of CPU this job got: 96%'. > Then i used

Re: [CMake] Compiling binaries with cmake -- help

2016-07-03 Thread Raymond Wan
On Sat, Jul 2, 2016 at 7:38 PM, Crest Christopher wrote: > Hi, thanks but I really want to compile it myself ;-) I hope someone can > help ! To be honest, you really should contact the original developers for help with dependencies and compiling. Not only are they

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-30 Thread Raymond Wan
Hi Sven, On Thu, Jun 30, 2016 at 6:40 PM, Sven Baars wrote: > So let's take Trilinos as an example, which is quite a big library, > which depends on a lot of libraries as well. In every project that > builds upon it (but does not even use functionality of any libraries), > we

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-30 Thread Raymond Wan
Hi Sven, On Thu, Jun 30, 2016 at 4:59 PM, Sven Baars wrote: > This is a reply to the options that Ray gave. Here I will use the > package dependencies C -> B -> A{1,2}: Well, I presented some options to you. Perhaps there are others, but if none of them are right for you then

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-28 Thread Raymond Wan
On Wed, Jun 29, 2016 at 3:23 AM, Cfyz <cfyz...@gmail.com> wrote: > On 28 June 2016 at 17:19, Raymond Wan <rwan.w...@gmail.com> wrote: >> I think if I were presented with the same problem as Sven, I'd <...> Or, >> if that wasn't possible, use ExternalProject. >

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-28 Thread Raymond Wan
Hi, On Tue, Jun 28, 2016 at 8:41 PM, Cfyz wrote: > dependencies' locations. Personally I do not agree with that as I see > neither any way around specifying paths to dependencies not any substantial > harm in that. Maybe I am missing something but as far as I've found there >

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-28 Thread Raymond Wan
Hi Sven, On Tue, Jun 28, 2016 at 6:03 PM, Sven Baars wrote: > The packages I use are installed in a non-standard path, because I don't > have access to the system directories on most systems I work on, but are > used by many other libraries. They are also all separate packages,

Re: [CMake] How do you handle recursive dependencies in CMake

2016-06-28 Thread Raymond Wan
Hi Sven, On Tue, Jun 28, 2016 at 5:26 PM, Sven Baars wrote: > Hey all, > > Since I did not receive a reply to my previous mail, I decided to write a > minimal example explaining my problem, where I kept al the names as I used > in my previous mails. I hope that after seeing my

Re: [CMake] CMake download blocked by Google Chrome

2016-04-10 Thread Raymond Wan
Hi Matthew, On Sun, Apr 10, 2016 at 10:45 PM, Matthew Rule wrote: > Ok thanks for the responses. I will go ahead with the download in that case. > Sorry if the question was a little offtopic for this mailing list, I see > it's mostly technical discussion. ...I don't

Re: [CMake] CMake download blocked by Google Chrome

2016-04-10 Thread Raymond Wan
Hi Matthew, On Sun, Apr 10, 2016 at 10:25 PM, Matthew Rule wrote: > When trying to download cmake-3.5.1-win32-x86.msi from > https://cmake.org/download/ I received the following message: > https://i.gyazo.com/6cf9cd56e9cf1f513f649cf59f768241.png > > I'd assume that

Re: [CMake] Visual C++ for Linux

2016-03-30 Thread Raymond Wan
Hi Lloyd, On Thu, Mar 31, 2016 at 12:40 PM, Lloyd wrote: > Hi, > > Microsoft announced Visual C++ for Linux. Would CMake support this? > > https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/ > > Thanks, > Lloyd Interesting developments

Re: [CMake] Shared library for a executable

2016-01-25 Thread Raymond Wan
Hi Tamás, On Mon, Jan 25, 2016 at 7:02 PM, Tamás Kenéz wrote: > Gonzalo, Ray, > > I think your approaches are not in accordance with some CMake best practices > (or at least what I believe they are). Thank you for looking over my web site! I welcome comments since I am

Re: [CMake] Shared library for a executable

2016-01-25 Thread Raymond Wan
Hi Gonzalo, On Mon, Jan 25, 2016 at 5:22 PM, Gonzalo <ggarr...@gmail.com> wrote: > > > El 22/01/16 a las 10:50, Raymond Wan escribió: >> >> Hi Gonzalo, >> >> I recently tried doing this and wrote it up as a record for myself. >> Of course, I do

Re: [CMake] Shared library for a executable

2016-01-22 Thread Raymond Wan
Hi Gonzalo, On Fri, Jan 22, 2016 at 1:49 AM, Gonzalo wrote: > I have the need to have a shared library be created and then this same > library be accessed by my executable. > I want both to remain in different sibling directories and have one main > CMakeList.txt that would

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Raymond Wan
Hi Jake, On Sat, Dec 19, 2015 at 5:02 AM, DJ wrote: > This all led me to consider purchasing the book Mastering CMake. However, > reviews on Amazon are generally very critical of the book. It is indeed > expensive. Should I bother to shell out for it, or do others here share

Re: [CMake] organizing includes statements

2015-12-10 Thread Raymond Wan
Hi Owen, Sorry to jump into the discussion, but what you're talking is something I was thinking of just recently... I think the choice between this: On Thu, Dec 10, 2015 at 3:48 PM, Owen Alanzo Hogarth wrote: > set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) >

Re: [CMake] Executable using a library (.a or .so)

2015-11-14 Thread Raymond Wan
Hi Franck, On Sat, Nov 14, 2015 at 11:05 PM, houssen wrote: > I tested your proposal (need to add target_include_directories to find > headers) : > # in MyLib/CmakeLists.txt > add_library( MyLib libsource1.c > libsource2.cpp ) > # in MyExe/CmakeLists.txt >

[CMake] Handling dependencies between projects

2015-11-04 Thread Raymond Wan
Dear all, I know this is a frequent question on this mailing list, but I'm being a bit overwhelmed with information and not too sure which direction I should head. Basically, I have executables X and Y who are each top-level projects. They make use of library A. Library A in turn makes use of

Re: [CMake] linking hared libraries

2015-10-19 Thread Raymond Wan
Hi Owen, On Mon, Oct 19, 2015 at 8:43 PM, Owen Alanzo Hogarth wrote: > Also you said the PROJECT() should only be defined once, but shouldn't each > cmakelists.txt contain a project() or else cmake complains at me. According to the last paragraph of:

Re: [CMake] Using add_subdirectory to manage project dependencies that aren't actually in a subdirectory

2015-09-18 Thread Raymond Wan
Hi Joe, On Sat, Sep 19, 2015 at 6:42 AM, Joe wrote: > /path/to/modules/FindA.cmake: > > ... > if (NOT TARGET A) >set(PATH_TO_A ${CMAKE_CURRENT_LIST_DIR}../A) >add_subdirectory(${PATH_TO_A} ${PATH_TO_A}/build) > endif() > ... > > This way, A' CMakeLists is invoked and

Re: [CMake] Parallel builds

2015-09-16 Thread Raymond Wan
On Wed, Sep 16, 2015 at 11:44 PM, Petr Bena wrote: > I would prefer a way to get cmake to generate solution files for MSVC > in a way that these options are enabled by default. Right now I need > to do this by hand and when I run cmake again, it overwrites the > solution files

Re: [CMake] FindMPI

2015-09-11 Thread Raymond Wan
Hi Nico, On Fri, Sep 11, 2015 at 4:53 PM, Nico Schlömer wrote: > I see from the CMake docs [1] that the recommended way for using MPI is to > call `find_package(MPI)` and set the linker and include flags appropriately. > On the other hand, I see from the OpenMPI specs

Re: [CMake] CMake Error at build/modules/add_boost.cmake:156 (message):‏

2015-08-15 Thread Raymond Wan
Hi Sonya, On Sat, Aug 15, 2015 at 10:12 AM, Sonya Blade sonyablade2...@hotmail.com wrote: Thank you in advance, your guess is correct Cmake module downloaded the boost and tried to compile it. Much more interestingly, it has extracted the current compiler suit on my machine (GCC 4.7.1) and

Re: [CMake] CMake Error at build/modules/add_boost.cmake:156 (message):

2015-08-13 Thread Raymond Wan
Hi Sonya, On Fri, Aug 14, 2015 at 12:46 PM, Sonya Blade sonyablade2...@hotmail.com wrote: Where do you see all of this, I couldn't even make out single meaningfu sentence out of it. The only thing that I can understand is that bootstrap cmake file is executed but bootstrap.sh file is

Re: [CMake] on cmake supporting one arch per project (from CMake IR)

2015-08-04 Thread Raymond Wan
On Wed, Aug 5, 2015 at 7:10 AM, Scott Aron Bloom sc...@towel42.com wrote: === IMO, this is one of the biggest shortcomings of CMake. I understand the heritage of the CMake world being make file based.. I really do.. And I love having a true out of source make file generator

Re: [CMake] on cmake supporting one arch per project (from CMake IR)

2015-08-04 Thread Raymond Wan
On Wed, Aug 5, 2015 at 8:23 AM, Scott Aron Bloom sc...@towel42.com wrote: I understand.. However, my point are these. First, its no longer just windows, its windows and mac using XCode. Second, VS and XCode ALREADY support this feature in their IDE. In NON CMake created project systems, I

Re: [CMake] CMake IR

2015-07-29 Thread Raymond Wan
Hi Máté, On Wed, Jul 29, 2015 at 3:49 PM, Nagy-Egri Máté Ferenc cmake@cmake.org wrote: I wanted to ask your opinion on something that has been troubling me since… well, ever since I started using CMake. I have not found a single person alive who would have said: “The script language of

Re: [CMake] cmake linking errors in simple project

2015-07-06 Thread Raymond Wan
Hi Owen, On Mon, Jul 6, 2015 at 3:48 PM, Owen Alanzo Hogarth gurenc...@gmail.com wrote: I created this simple project but I am having linking errors. Everything builds correctly but when I try to add my lib to my main.c cmake complains about linking errors. Here's what the project looks

Re: [CMake] finding boost

2015-03-03 Thread Raymond Wan
Hi Dave, On Tue, Mar 3, 2015 at 6:20 PM, Dave Yost d...@yost.com wrote: I’m having trouble with the find_package documentation w.r.t. boost. I can’t divine how to get find_package to look for boost in various places it might be on the various systems where we do builds. I know boost looks

Re: [CMake] Include_directories looks for Boost twice / Problem with if statement

2012-12-11 Thread Raymond Wan
Hi Jakub, On Fri, Dec 7, 2012 at 4:46 PM, Jakub Zakrzewski jzakrzew...@e2e.ch wrote: Hi Did you think about something like this: ADD_DEFINITIONS (-DBOOST_ALL_NO_LIB) SET (BOOST_ROOT $ENV{BOOST_ROOT}) SET (Boost_NO_SYSTEM_PATHS ON) SET (Boost_USE_MULTITHREADED ON) SET

[CMake] Include_directories looks for Boost twice / Problem with if statement

2012-12-06 Thread Raymond Wan
Hi all, I have two CMakeFile.txt's for a C++ project where one includes the other. In both cases, I'm searching for Boost. So, to make this easier, suppose I call one project parent and the other child such that parent's CMakefile.txt has: INCLUDE_DIRECTORIES (child) where child is a

Re: [CMake] how to inherit includes from other directories

2011-09-07 Thread Raymond Wan
Hi Glenn, On Wed, Sep 7, 2011 at 20:36, Glenn Coombs glenn.coo...@gmail.com wrote: Could you not create a file in each subdirectory called something like header-deps.cmake ?  This file would contain the include_directory() commands necessary for using this module, plus include() commands of

Re: [CMake] how to inherit includes from other directories

2011-09-06 Thread Raymond Wan
Hi Victor, On Wed, Sep 7, 2011 at 05:39, Victor Yankee victor.whiskey.yan...@gmail.com wrote: There may 3 or 4 levels. At the top level, I would very much like to avoid needing to know all the dependencies at all the lower levels and exhaustively listing each one in an 

Re: [CMake] how to inherit includes from other directories

2011-09-04 Thread Raymond Wan
Hi Victor, On Sat, Sep 3, 2011 at 02:27, Victor Yankee victor.whiskey.yan...@gmail.com wrote: build/ src/ utils a A.h unittest_a.cpp b B.h // needs a.h

[CMake] GraphViz module?

2011-08-23 Thread Raymond Wan
Hi all, I was wondering if there is a GraphViz module that is included with cmake. I'm using an older 2.8.2 and can't seem to find such a module and I'm wondering if my installation is just missing it. I looked at the recent cmake docs and it seems that it doesn't exist? I did a search and

[CMake] CPack -- adding license to files

2011-07-01 Thread Raymond Wan
Hi all, I was wondering if there is an easy/automated way that I can get CMake or CPack to add a license to every source file prior to distribution of the source. Of course, I mean that I would provide the wording of the license and all it does is copy this license to the top of each source file

[CMake] Sharing configuration files?

2011-06-07 Thread Raymond Wan
Hi all, I'm having a problem which I can't quite figure out how to solve. Basically, I have C++ source code in two directories, each for a different class. Let's say: src/X src/Y Each one makes a different class but ultimately X makes use of Y (i.e., an instance of Y is a variable within X's

Re: [CMake] Sharing configuration files?

2011-06-07 Thread Raymond Wan
Hi Hendrik, Thank you for the suggestions! On Tue, Jun 7, 2011 at 17:02, Hendrik Sattler p...@hendrik-sattler.de wrote: Zitat von Raymond Wan r@aist.go.jp: I think/hope so far things are ok...  I can compile Y and run it with no problems.  The problem is that X needs access

Re: [CMake] Sharing configuration files?

2011-06-07 Thread Raymond Wan
Hi Hendrik, On Tue, Jun 7, 2011 at 17:17, Hendrik Sattler p...@hendrik-sattler.de wrote: Zitat von Raymond Wan r@aist.go.jp: Hm, I never thought of the first option!  So if I am understanding your suggestion correctly, this basically means that in X's class definition, it has

[CMake] Dependency problem with 2.8.0 (but not 2.8.2+)

2011-05-17 Thread Raymond Wan
Hi all, I'm having a problem with cmake giving me an error about attempting to add a Boost library to a target. However, I have confirmed that my CMakeLists.txt works fine in 2.8.2 and 2.8.4; however, it doesn't work in 2.8.0. Unfortunately, I'm trying to get it work on a machine running on

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-27 Thread Raymond Wan
Hi Ken, Sorry for not replying, but this message of your's ended up in spam filter... :-( On Wed, Jan 26, 2011 at 01:56, Moreland, Kenneth kmo...@sandia.gov wrote: Looking at the source code, I believe it is assumed that the paths you give for images are relative to the directory

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-27 Thread Raymond Wan
Hi Ken, On Fri, Jan 28, 2011 at 00:38, Moreland, Kenneth kmo...@sandia.gov wrote: ... Rather than have the ADD_LATEX_DOCUMENT in top-level/latex/CMakelists.txt, try putting it in top-level instead and making all of your file references to top-level.  After you build, the document structure

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-25 Thread Raymond Wan
Hi Daniel, Thanks for the reply! On Tue, Jan 25, 2011 at 16:15, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am Dienstag, den 25.01.2011, 15:41 +0900 schrieb Raymond Wan:  Everything is fine except that pdflatex doesn't seem to work with images well on my system...  That's of course my

Re: [CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-25 Thread Raymond Wan
Hi Daniel, On Tue, Jan 25, 2011 at 16:15, Daniel Pfeifer dan...@pfeifer-mail.de wrote: Am Dienstag, den 25.01.2011, 15:41 +0900 schrieb Raymond Wan: ... Is there something I can do in my CMakeLists.txt file to ensure that it is the default target (and not pdf or any of the others) when I

[CMake] cmake with LaTeX [UseLATEX.cmake]

2011-01-24 Thread Raymond Wan
Hi all, I'm not sure if many people have experience with UseLATEX.cmake (http://www.cmake.org/Wiki/CMakeUserUseLATEX), but I have a question which I guess is general. Everything is fine except that pdflatex doesn't seem to work with images well on my system... That's of course my system [or my

Re: [CMake] CPack 101

2010-12-23 Thread Raymond Wan
Hi Mike and all, On Thu, Dec 23, 2010 at 21:58, Mike McQuaid m...@mikemcquaid.com wrote: On 23 December 2010 12:43, David Cole david.c...@kitware.com wrote: I think the main problem is that you make it very hard for people to contribute. KDE and Homebrew (two other open-source projects I've

Re: [CMake] Linking archives in a sibling directory

2010-12-12 Thread Raymond Wan
Hi Michael, Thank you for the follow-up and sorry for my late response! I appreciate your suggestions as they basically summarize the problems I've been having... On Wed, Dec 8, 2010 at 21:25, Michael Hertling mhertl...@online.de wrote: Yes, absolutely, with such relations among executables

Re: [CMake] Linking archives in a sibling directory

2010-12-03 Thread Raymond Wan
Hi Michael, Thank you for your continued advice! On Fri, Dec 3, 2010 at 19:13, Michael Hertling mhertl...@online.de wrote: On 12/02/2010 03:13 PM, Raymond Wan wrote: ADD_SUBDIRECTORY (dir-A) before ADD_SUBDIRECTORY (main) then main will be built correctly? Even this is not necessary

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Raymond Wan
Hi Michael, On Thu, Dec 2, 2010 at 19:40, Michael Hertling mhertl...@online.de wrote: On 12/01/2010 06:03 PM, Raymond Wan wrote: Ah!  I see.  Then is it recommended that this top-level CMakeLists.txt have just these lines, or should I move the ADD_EXECUTABLE, etc. lines here as well

Re: [CMake] Linking archives in a sibling directory

2010-12-02 Thread Raymond Wan
Hi Rolf, On Thu, Dec 2, 2010 at 23:36, Rolf Eike Beer e...@sf-mail.de wrote: Let's say you have dirA, dirB, dirC dirA builds a lib dirB builds a lib that needs libA dirC builds a target that needs libA and libB Then you can't do libB/CMakeLists.txt  ADD_SUBDIRECTORY(../dirA dira)

Re: [CMake] Linking archives in a sibling directory

2010-12-01 Thread Raymond Wan
Hi Michael, On Thu, Dec 2, 2010 at 01:03, Michael Hertling mhertl...@online.de wrote: On 12/01/2010 08:18 AM, Raymond Wan wrote: Hi all, I'm having a problem understanding how I can link to an archive in another directory which is not a subdirectory. For example: myproj   +-- main

[CMake] Linking archives in a sibling directory

2010-11-30 Thread Raymond Wan
Hi all, I'm having a problem understanding how I can link to an archive in another directory which is not a subdirectory. For example: myproj +-- main +-- CMakeLists.txt +-- source files for main program +-- dir-A +-- CMakeLists.txt +-- source files for sub-program A +--

Re: [CMake] makefile to CMakeLists.txt, possible?

2010-09-05 Thread Raymond Wan
Hi Andreas, Thanks for the reply and the two points that you raised. Yes, make -j is what I was thinking of. It just didn't occur to me that it would be make's job; thought separating compilation into multiple processes has be done at the point the Makefile is created...guess I was wrong...

Re: [CMake] makefile to CMakeLists.txt, possible?

2010-09-02 Thread Raymond Wan
Hi Chiheng, On Thu, Sep 2, 2010 at 16:15, Chiheng Xu chiheng...@gmail.com wrote: CMake is a very great tool.    But its drawback is also obvious.    It will consume large amount of time to generate Makefiles every time you want to build,  especially for ultra large projects.   Building can be

[CMake] Conditional compiling [i.e. OpenMP]

2010-08-31 Thread Raymond Wan
Hi all, I'm still quite new to cmake and am trying to do something I use to do with autotools (took me ages to figure that out :-) ). I guess what I'm trying to do is not specific to OpenMP, though. In my C++ code, I'd like to add: #if HAVE_OPENMP #include omp.h #endif and have this check

Re: [CMake] Conditional compiling [i.e. OpenMP] -- solved!

2010-08-31 Thread Raymond Wan
Hi Ryan and Eric, Thank you both for your replies! On Tue, Aug 31, 2010 at 20:10, Ryan Pavlik rpav...@iastate.edu wrote:  On 8/31/10 3:40 AM, Raymond Wan wrote: I think SET (HAVE_OPENMP 1) is wrong, but I don't know what should it be.  If it is correct, do I need to initialize it with SET

Re: [CMake] Conditional compiling [i.e. OpenMP]

2010-08-31 Thread Raymond Wan
Hi Eric, On Tue, Aug 31, 2010 at 20:59, Eric Noulard eric.noul...@gmail.com wrote: 2010/8/31 Raymond Wan r@aist.go.jp: /* #undef HAVE_OPENMP */ I can confirm that OpenMP is being detected because I can see the various values being defined in CMakeCache.txt.  HAVE_OPENMP