On 2020-01-23 16:17, David Grayson wrote:
My CMake file-installation needs are simpler than yours and I haven't
figured out how to make it truly portable but I have something that
works.
I tell MSYS2 users to build/install the software by running these
commands:
mkdir build
cd build
MSYS2_ARG
On Fri, Jan 24, 2020 at 7:31 AM Ruben Van Boxem In my eyes, your CMakeLists.txt shouldn't contain a hardcoded Unix path
> such as /tmp. Instead it should e.g. check if it exists and accept a
> parameter from the command line to overwrite this using an option. In this
> case, it is much more conven
Op vr 24 jan. 2020 00:30 schreef David Mathog :
> On 2020-01-23 15:08, David Grayson wrote:
> > Since CMake in MSYS2 is a native Windows program, if you ask it to make
> > /tmp, I expect it will make C:/tmp. Did that happen?
>
> Good call, that is exactly what happened!
>
> This is a problem (esp
My CMake file-installation needs are simpler than yours and I haven't
figured out how to make it truly portable but I have something that works.
I tell MSYS2 users to build/install the software by running these commands:
mkdir build
cd build
MSYS2_ARG_CONV_EXCL=- cmake .. -G"MSYS Makefiles"
-DCMAK
On 2020-01-23 15:08, David Grayson wrote:
Since CMake in MSYS2 is a native Windows program, if you ask it to make
/tmp, I expect it will make C:/tmp. Did that happen?
Good call, that is exactly what happened!
This is a problem (especially for a cross platform build environment)
because the p
Since CMake in MSYS2 is a native Windows program, if you ask it to make
/tmp, I expect it will make C:/tmp. Did that happen?
--David
On Thu, Jan 23, 2020 at 2:55 PM David Mathog wrote:
> On 2020-01-23 14:15, David Mathog wrote:
> > The CMakeLists.txt file after my signature works correctly in
On 2020-01-23 14:15, David Mathog wrote:
The CMakeLists.txt file after my signature works correctly in linux
with:
mkdir build
cd build
cmake ..
make
but in mingw64 this:
mkdir build
cd build
cmake -G "MSYS Makefiles" ..
make
fails when it tries to link the first executable (which happens to
The CMakeLists.txt file after my signature works correctly in linux
with:
mkdir build
cd build
cmake ..
make
but in mingw64 this:
mkdir build
cd build
cmake -G "MSYS Makefiles" ..
make
fails when it tries to link the first executable (which happens to be
pockmark.exe for some reason) because