Re: [CMake] Best way to handle application data path for local run vs. installation

2015-12-04 Thread Dmitry Marakasov
* Dmitry Marakasov (amdmi3@hades.panopticon) wrote: > Anyway for now, I did some research and solved the problem of inplace > vs. systemwide compilation in a way that I find acceptable. > > I check for CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT to basically > know whether a user

Re: [CMake] Best way to handle application data path for local run vs. installation

2015-11-30 Thread Dmitry Marakasov
upport inplace and systemwide /at the same time/, but still supports either of them cleanly, doesn't require extra actions from user and behaves sensibly by default. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ru ht

[CMake] Best way to handle application data path for local run vs. installation

2015-11-29 Thread Dmitry Marakasov
wrapper scripts - I don't want to build two executables The best solution would be for cmake to fix path in executable file right after installation, something similar to what cmake does with rpaths. Or there could be a cross-platform way for executable to know whether it was installed which I've m

Re: [CMake] Tweaking/disabling timeout for "Check for working CXX compiler"

2015-09-09 Thread Dmitry Marakasov
. > It seems to me that if the compile is actually completing then > worrying about CMake's timeout is worth the trouble. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ru http://amdmi3.ru -- Powered by www.kitware

[CMake] Tweaking/disabling timeout for "Check for working CXX compiler"

2015-09-08 Thread Dmitry Marakasov
here is this timeout defined, what value is it set to exactly and is it tunable? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ru http://amdmi3.ru -- Powered by www.kitware.com Please keep messages on-topic and check the

Re: [CMake] Why drop -D from wxWidgets_DEFINITIONS ?

2009-12-03 Thread Dmitry Marakasov
* Orion Poplawski (or...@cora.nwra.com) wrote: Note that this is breaking previously working builds of plplot because of the missing -D. I don't see this being done in any other module. This also breaks Rigs of Rods with the same symptoms. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56

Re: [CMake] cmake 2.6.0, breakages

2008-05-19 Thread Dmitry Marakasov
* Andreas Pakulat ([EMAIL PROTECTED]) wrote: sdl-config --libs: -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread sdl-config --cflags: -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT So I thought it would be safer to use sdl-config and let user

Re: [CMake] cmake 2.6.0, breakages

2008-05-19 Thread Dmitry Marakasov
* Bill Hoffman ([EMAIL PROTECTED]) wrote: And don't forget to open a bugreport for unix 'find' too. It also finds its own sources when doing a 'find /path/to/find/sources -name *.c ' ... There's a tiny difference: find doesn't create stuf in where it searches. That said glob recurse is a bad

Re: [CMake] cmake 2.6.0, breakages

2008-05-19 Thread Dmitry Marakasov
* Andreas Pakulat ([EMAIL PROTECTED]) wrote: I guess I will. GLOB_RECURSE may not be the best way to specify project sources, but it matching anything under CMakeFiles/ is certainly not what user would expect. Actually as a CMake user I would expect exactly that. GLOB_RECURSE not looking

Re: [CMake] cmake 2.6.0, breakages

2008-05-18 Thread Dmitry Marakasov
* Andreas Pakulat ([EMAIL PROTECTED]) wrote: # depends set(SDL_CONFIG sdl-config CACHE STRING Path to sdl-config script) Thats broken by design, what if sdl-config is not in my PATH? FIND_PACKAGE(SDL REQUIRED) FIND_PACKAGE(SDL_image REQUIRED) FIND_PACKAGE(SDL_mixer REQUIRED) And why

[CMake] cmake 2.6.0, breakages

2008-05-17 Thread Dmitry Marakasov
Hi! I've got some breakages after switch to CMake 2.6.0, and I'm not sure how to fix those in a correct way. The app in question is memonix: http://www.viewizard.com/download/MemonixSourceCode_1.6_070713.zip (I'm not related to authors of this software, but CMakeLists.txt there is by me).