Re: [CMake] complication issue

2019-03-18 Thread Ali Angle
example code added to : https://github.com/systemangle/mcve_avr I think this may not be path related. But something is clearly wrong. On Mon, 18 Mar 2019 at 10:52, Ali Angle wrote: > > Issue is described over here: > https://stackoverflow.com/questions/55211221/cmake-build-problem-when

[CMake] complication issue

2019-03-17 Thread Ali Angle
Issue is described over here: https://stackoverflow.com/questions/55211221/cmake-build-problem-when-building-code-for-avr Can we make cmake use absolute paths in build commands and avoid change directory, and make build directory as working directory during build process ? -- Powered by www.kitw

Re: [CMake] Creating a DLL using .DEF file on MinGW

2012-09-13 Thread Ali Hamdi
That was it, it worked. Thank you! /Ali On Thu, Sep 13, 2012 at 8:48 AM, Petr Kmoch wrote: > Hi, > > just a wild guess: .def files for C++ projects have to list the mangled > names, so if you want the export name to be just "testfunc", it should be > declared as 

[CMake] Creating a DLL using .DEF file on MinGW

2012-09-12 Thread Ali Hamdi
Hello everybody, I am trying to create a DLL by using a .DEF file and targeting the MinGW gcc-compiler. In my CMakeLists.txt I have this: add_library(MyDll SHARED MyDll.cpp dllmain.cpp stdafx.cpp MyDll.def). I have the following sou

[CMake] CMake beginner question

2012-01-20 Thread Ali Habib
I want to build VTK for IOS, how can I adjust the CMake files to do that, any suggestions ideas will be highly appreciated Best regards -- 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

[CMake] Running a Python script at PRE_BUILD

2009-03-15 Thread Ali Pouladi
Hello all, How can I run a Python script at PRE_BUILD (or PRE_LINK) time? I basically need to generate a header file containing build number filled with the SVN revision number of the trunk. I already have written a script for doing so, I just don't know how to get it to run before the build s

[CMake] Including existing make files into cmake

2008-01-29 Thread Ali -
me I re-run the cmake command. The question is, how can this be automated by cmake commands? -Ali _ Get Hotmail on your mobile, text MSN to 63463! http://mobile.uk.msn.com/pc/mail.aspx__