[CMake] CPack OS X bundle : generator expression for CPACK_BUNDLE_STARTUP_COMMAND

2017-11-28 Thread Nicholas Yue
I am using CMake 3.10 I can't seems to find a way to tell the OS X bundle where to find the compiled binary. I get the following errors: Run CPack packaging tool... CPack: Create package using Bundle CPack: Install projects CPack: - Run preinstall target for: OSXBundle CPack: - Install project:

[CMake] Which version of NSIS to use with CMake's CPack ?

2017-11-21 Thread Nicholas Yue
Hi, Is there a recommended version of NSIS which works best with CMake's CPack ? Cheers -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

[CMake] CMake truncating include path ?

2017-06-03 Thread Nicholas Yue
Hi, I am using CMake 3.8.2 on OS X with -G "Eclipse CDT4 - Unix Makefiles" I have the following in my CMakeLists.txt MESSAGE ( "HDK_INCLUDE_DIR = ${HDK_INCLUDE_DIR}") INCLUDE_DIRECTORIES ( ${HDK_INCLUDE_DIR} ) I see the following printed out

[CMake] Windows Debug/Release/Multi-threaded[Static/Dynamic] combinations build all ?

2016-07-03 Thread Nicholas Yue
would like to then construct a CPack of all the combinations of libraries (say, I use the naming convention of Boost on Windows) Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows https://ca.linkedin.com/in/nicholasyue https

[CMake] FIND_PACKAGE () : self location ?

2014-11-09 Thread Nicholas Yue
fragile when moving things around. Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools -- Powered by www.kitware.com Please keep messages on-topic

[CMake] Generator : Visual Studio 11 Win64 - AdditionalIncludeDirectories error

2014-11-09 Thread Nicholas Yue
This cause the builds to fail because the compiler options will be filled with incorrect information. I tried googling but it does not seem to be an existing problem. Is my installation bad otherwise, is there a work around ? Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan

[CMake] ExternalProject_Add with custom build/make command for Boost

2014-09-25 Thread Nicholas Yue
. ExternalProject_Add() has many configuration parameter and I am wondering if there is one which I can use to tell it not to attempt to make install Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue

Re: [CMake] ExternalProject_Add dependency graph (dot/graphviz?) ?

2014-09-23 Thread Nicholas Yue
) ExternalProject_Add ( boost_1_47_0 DEPENDS python264 ) ExternalProject_Add ( alembic_1_5_5 DEPENDS python264 boost_1_47_0 ) Cheers On 23 September 2014 11:58, Micha Hergarden micha.hergar...@gmail.com wrote: On 09/22/2014 04:59 PM, Nicholas Yue wrote: Hi

[CMake] ExternalProject_Add dependency graph (dot/graphviz?) ?

2014-09-22 Thread Nicholas Yue
Hi, CMake has graphviz output capability for dependency within a project. Is there a way to graph dependency at the ExternalProject_Add() level ? Cheers -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http

[CMake] CMake 3.0.1 : Visual Studio 2012 solution not useable

2014-08-17 Thread Nicholas Yue
//AssemblerListingLocation CompileAsCompileAsCpp/CompileAs DisableSpecificWarnings4355;4996/DisableSpecificWarnings Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com

Re: [CMake] What is the best way to clean up CMakeFiles and CMakeCache.txt if aborting build completely?

2014-01-15 Thread Nicholas Yue
, I have found that doing an out-of-source build makes it much easier to do clean up. For example : $cd /tmp/some-dev-dir $cmake cmake-flags-you-want /home/ben/project/myawesomeproject Hope that helps. Cheers -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL

[CMake] Xcode generator : is it commonly used ?

2013-09-02 Thread Nicholas Yue
if there are other developer on the same OS version and XCode 4.4.1 and have success with that tool chain and hope to learn the correct work flow since the changes at Apple with the move from /Developer to /Application for XCode Cheers -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5

[CMake] 2.8.11rc1 - OSX Lion and Xcode 4.4.1

2013-03-21 Thread Nicholas Yue
FAILED ** The following build commands failed: PhaseScriptExecution CMake Rules build/Project.build/Debug/ZERO_CHECK.build/Script-3F926441115C46B2986F8D6A.sh (1 failure) = Cheers -- Nicholas Yue Graphics - RenderMan, Visualization

Re: [CMake] 2.8.11rc1 - OSX Lion and Xcode 4.4.1

2013-03-21 Thread Nicholas Yue
On 22/03/13 2:19 AM, Sean McBride wrote: On Thu, 21 Mar 2013 22:27:41 +1100, Nicholas Yue said: I am trying out CMake 2.8.11rc1 on OS X Lion with XCode 4.4.1 My dashboard here: http://open.cdash.org/buildSummary.php?buildid=2851443 Is running OS X 10.7.5, CMake 2.8.11rc1, and Xcode

Re: [CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-21 Thread Nicholas Yue
xcode-select -print-path? $ xcode-select -print-path /Applications/Xcode.app/Contents/Developer Cheers -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools

[CMake] CMake 2.8.10 with Xcode 4.4.1

2012-11-19 Thread Nicholas Yue
with exit code 2 ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution CMake Rules Project.build/Debug/ZERO_CHECK.build/Script-88F80E18C3E647F2A9484A6C.sh (1 failure) Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom

[CMake] Different compiler in sub directory

2012-09-05 Thread Nicholas Yue
++ ) will the compiler being set only scoped within that directory (when I use ADD_SUBDIRECTORY) or would that become global for other projects later... Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment

[CMake] Creating executable - including an external *.o

2012-07-22 Thread Nicholas Yue
, how does one specify a single object file for linking in an executable? Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com

Re: [cmake-developers] cmake 2.8.9 rc2 - OS X Lion

2012-07-18 Thread Nicholas Yue
On 17/07/12 11:59 PM, David Cole wrote: On Tue, Jul 17, 2012 at 9:12 AM, Brad King brad.k...@kitware.com wrote: On 07/16/2012 07:10 PM, Nicholas Yue wrote: Hi, I came across this error while bootstrapping a build on OS X Lion. Has anyone else seen this ? /usr/include/c++/4.2.1/cstdarg:60

Re: [CMake] MSVC++ IDE is licensed but CMAKE build appears to fail to pick up licence from command line

2012-06-30 Thread Nicholas Yue
. As with Windows, rebooting may help. HTH. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com

[CMake] CMake + Eclipse on OS X : OpenGL and GLUT headers

2012-06-30 Thread Nicholas Yue
completion and C++ indexer works properly when using OpenGL and GLUT on OS X when generating Eclipse project files via CMake. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http

Re: [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-23 Thread Nicholas Yue
cmake_version_component() My interest in building CMake 2.8.9rc1 on OS X was to check if the failure to find Eclipse 3.7 on OS X when using the Eclipse generator has been resolved. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows

[CMake] CPack : WM_SETTINGCHANGE broadcast

2012-05-27 Thread Nicholas Yue
from within CPack to do a WM_SETTINGSCHANGE broadcast so that the user installing the software I am packaging not to have to log-out and log-in for the updated environment variable to take effect. Is there a different approach ? Regards -- Nicholas Yue Graphics - RenderMan, Visualization

Re: [CMake] Packaging : Debug + Release together

2012-05-22 Thread Nicholas Yue
On 22/05/12 18:20, Kfir Lavi wrote: I would just compile it twice and create my-debug.rpm and my.rpm Is that a viable solution for you? I am gravitating towards that option. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux

[CMake] Packaging : Debug + Release together

2012-05-21 Thread Nicholas Yue
will CPack find the different builds for packaging ? Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows Management - Recruitment, career management http://www.proceduralinsight.com/ http://au.linkedin.com/in/nicholasyue -- Powered

[CMake] CPack : Executing post install script (portable way)

2012-04-26 Thread Nicholas Yue
/CPack) the installation directory chosen by the user ? Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] CPack : NSIS - registry key setting/over-riding

2012-04-25 Thread Nicholas Yue
HKEY_CURRENT_USEREnvironmentMYSOFTWARE_PATH C:MyApp ) Do I have to create the registry key in the first place ? If so, can CPack do that ? Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http

[CMake] CPack : NSIS multiple licensing choice/option

2012-04-20 Thread Nicholas Yue
, is there a way to track the choice that was made ? Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] External project source

2012-02-13 Thread Nicholas Yue
On 13/02/12 6:47 PM, Eric Noulard wrote: 2012/2/13 Nicholas Yueyue.nicho...@gmail.com: Hi, There is an existing project I have access to that already have CMake configuration file but the way it is written requires alot of preprocessing steps (python, shell etc) before it is usable. I

[CMake] External project source

2012-02-12 Thread Nicholas Yue
I tell CMake to refer to source code at some other top level directory as a starting point. Is there such a concept in CMake ? At the risks of confusing matter, my closest example would be something vaguely resembling VPATH Regards -- Nicholas Yue Graphics - RenderMan, Visualization

[CMake] MACOSX_BUNDLE for a shell script application

2012-01-23 Thread Nicholas Yue
${CMAKE_SOURCE_DIR}/startup.sh ) I'd be happy to have a look at other open source project which already does that and learn from them. Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue

[CMake] FindPythonLibs : Version selection on OS X

2012-01-12 Thread Nicholas Yue
, if so, how does one go about doing that ? Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] CPack : Embedding other installer (*.msi, *.exe)

2012-01-11 Thread Nicholas Yue
am currently using a related macro (provided by CMake) to install the Visual Studio redistributable so I guess it is possible. Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue

[CMake] CPack - Windows 7 x64

2012-01-03 Thread Nicholas Yue
Hi, I am building and installing full 64bit applications and libraries. When I package it up as an installer via NSIS, it installs to C:\Program Files (x86)\ What CPACK_ variables do I need to inform cpack that it should be installed in C:\Program Files\ Regards -- Nicholas

[CMake] CPack : OS X package installation directory

2011-12-25 Thread Nicholas Yue
to check the installation without actually doing the full installation steps e.g. is there some flags/files to check the installation directory after the DMG/PKG is created ? Regards -- Nicholas Yue Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux

[CMake] CDT - source file references

2011-10-19 Thread Nicholas Yue
to trigger that ? I prefer out of source build for easier maintenance. Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue -- Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] CDT - source file references

2011-10-19 Thread Nicholas Yue
Found the answer to my question here: http://www.vtk.org/Wiki/Eclipse_CDT4_Generator On 20 October 2011 09:40, Nicholas Yue yue.nicho...@gmail.com wrote: Hi, Using CMake 2.8.6 on Linux, I generated a CDT configuration in a different directory from the source (out of source build

Re: [CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-18 Thread Nicholas Yue
On 10 October 2011 03:00, Alexander Neundorf a.neundorf-w...@gmx.netwrote: On Friday 07 October 2011, Nicholas Yue wrote: Hi, Using CMake 2.8.4, I see Eclipse CDT4 generator support for NMake With the recent release of CDT 8.X, there is Visual Studio compiler as a new/separate

[CMake] CDT generator - CDT 8.0.1 [Visual Studio compiler support]

2011-10-06 Thread Nicholas Yue
Hi, Using CMake 2.8.4, I see Eclipse CDT4 generator support for NMake With the recent release of CDT 8.X, there is Visual Studio compiler as a new/separate toolchain. Are there plans to support that as a generator? Regards -- Nicholas Yue Graphics - RenderMan, Visualization, OpenGL

[CMake] Copying files (different name)

2011-05-26 Thread Nicholas Yue
Hi, With the FILE ( COPY .. DESTINATION) command, is there a way to create a second copy of a file at the DESTINATION with a different name ? In my case, my DESTINATION is the same as the original location. Basically, I am trying to duplicate this command line copy header.h.vc

[CMake] Idea - Modules development and management

2009-12-07 Thread Nicholas Yue
Hi, Does it make sense to separate out the development and deployment of Modules in CMake? I see an advantage because Modules update are more frequent as more packages are added compare to the release cycle of CMake itself. Maybe there is an easier way? Environment variable to

[CMake] Sharing Modules between different installation of CMake

2009-02-18 Thread Nicholas Yue
that there are additional Module search path over and above those it normally searches? Regards -- Nicholas Yue ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] Sharing Modules between different installation of CMake

2009-02-18 Thread Nicholas Yue
Robert Haines wrote: Hi, I am testing different version of CMake on multiple platform to ensure my custom modules works fine on all combination. I find it troublesome to copy my custom module to all the different ../share/cmake-X.Y/Modules directory Is there an alternative to telling

[CMake] Python coverage submission to CDash via UsePythonTest.cmake

2008-10-29 Thread Nicholas Yue
Hi, Is there a way to submit python coverage information via the UsePythonTest.cmake scripts? I would like to find out how it can be done. My coverage information are generated via the coverage.py from http://nedbatchelder.com/code/modules/coverage.html Regards

[CMake] SWIG - Adding Java module on OSX

2008-09-14 Thread Nicholas Yue
Hi, I am using the macro SWIG_ADD_MODULE. SWIG_ADD_MODULE ( ribclient java RIBClient.i ParameterList.cpp ) The generated linker flag does not produce a loadable JNI module (it compiles and build but is not usable). /usr/bin/c++ -bundle -headerpad_max_install_names -o

[CMake] Global linker/library flag specification

2008-07-18 Thread Nicholas Yue
it outside of the command line and into an in-house custom configuration which all developer use thus reducing their workload. Regards -- Nicholas Yue BSc (Hons) MACM Graphics - RenderMan, RIB, Visualization, OpenGL, netCDF Custom Dev - C++ porting, OSX, Linux, Windows

Re: [CMake] CMake support for Python

2008-07-15 Thread Nicholas Yue
2008/7/10 Mathieu Malaterre [EMAIL PROTECTED]: You are missing the enable_testing() + include(CTest) thingy Thanks Mathieu, I have got the test and CDash submission working fine. However, I can't seem to get the ADD_PYTHON_COMPILEALL_TEST call working It needs a copy of compileall.py to work

[CMake] CTest with Python unittest

2008-07-08 Thread Nicholas Yue
Hi, I have had a look at the FAQ for CTest but did not find any specific answer hence I am posting here. I have a couple of Python projects which has unittest as part of their code base. I'd like to submit their unit test run output on to a CDash server, is there any information available

[CMake] CMake support for Python

2008-07-08 Thread Nicholas Yue
Hi, I'd like to build and run Python unit test using CMake. In the keyword Project, there is support for a language tag after the project name. Is there any example of using CMake to run Python unit tests? Regards ___ CMake mailing list

[CMake] Company wide customization

2008-06-25 Thread Nicholas Yue
Hi, What is the best approach to company wide customization for CMake? Which file is always loaded by CMake upon start up? Is there another approach? If it is some particular file(s), can I share them with different platform version of CMake? Regards

[CMake] Inhouse custom module deployment advice

2008-06-15 Thread Nicholas Yue
usage of the variable, I have to tell cmake explicitly. This means more work for each new developer or automated build client I deploy. Is there a better or more efficient way to tell cmake (on all platform) where to find additional module files? Regards -- Nicholas Yue BSc (Hons) MACM

[CMake] OSX universal binary support

2008-01-14 Thread Nicholas Yue
working, that's fine too. Regards -- Nicholas Yue BSc (Hons) MACM Need help with software development process? ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] DLL import/export flag differentiation

2007-11-24 Thread Nicholas Yue
Hi, I am attempting to migrate the ANN build to CMake for my own ease of cross platform maintenance. The cmake configuration works fine on OSX but have problem Windows because of the additional linkage requirement. I understand that there is no per target DEFINITIONS setup so I'd like to

[CMake] Conditional dependency

2007-11-06 Thread Nicholas Yue
Hi, I have a project which is build a library fine with CMake (has around 100 source file). ADD_LIBRARY ( mylib STATIC a.cpp b.cpp c.cpp etc ) The content in b.cpp is relevant to only some platform platform. How do I tell CMake that file b.cpp is only to be include as depends of

[CMake] Relative path when referencing SWIG files?

2007-09-15 Thread Nicholas Yue
Hi, I am trying to organise my SWIG files into a central location as there are multiple langauges that I am supporting. I have found that introducing relative path breaks my build CMake complains that it cannot find the generated source file and that the expected location would be in

[CMake] [Q] Searching mailing list archive about swig-python-osx-bundle?

2007-09-07 Thread Nicholas Yue
Hi, I'd like to search the mailing list archive of information on how to construct a cmake file to build a swig python extension (as a bundle) on OS X? My current build (of the swig python extension) on Linux is linking and running fine but on OS X, the same cmake configuration file builds