Skip to content

CMake won't install files on windows #366

Open
@alexxbb

Description

@alexxbb

Hi guys!
So, i have 2 identical (i hope) environment setup on Windows 10 and CentOS 7.
rez_version: 2.1.1.pxo.01

CentOS:

  1. Invoke rez-build
  2. cd build/
  3. make -n install:
    [alex@centos build]$ make -ns install /usr/bin/cmake -H/home/alex/sandbox/rezolution/geo -B/home/alex/sandbox/rezolution/geo/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/alex/sandbox/rezolution/geo/build/CMakeFiles /home/alex/sandbox/rezolution/geo/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all /usr/bin/cmake -E cmake_progress_start /home/alex/sandbox/rezolution/geo/build/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall /usr/bin/cmake -E cmake_echo_color --switch= --cyan "Install the project..." /usr/bin/cmake -P cmake_install.cmake

Note the last call to cmake_install.cmake

Windows:

  1. Invoke rez-build

  2. cd build/

  3. nmake -N install:

     C:\CMake\bin\cmake.exe -HC:\Users\alex\sandbox\rezolution\testgeo -BC:\Users\alex\sandbox\rezolution\testgeo\build --check-build-system CMakeFiles\Makefile.cmake 0
     C:\VC\VC\BIN\nmake.exe -f CMakeFiles\Makefile2 /nologo -NS                 install
    

AND
nmake -f CMakeFiles\Makefile2 -NS install

    C:\CMake\bin\cmake.exe -HC:\Users\alex\sandbox\rezolution\testgeo -BC:\Users\alex\sandbox\rezolution\testgeo\build --check-build-system CMakeFiles\Makefile.cmake 0
    C:\CMake\bin\cmake.exe -E cmake_progress_start C:\Users\alex\sandbox\rezolution\testgeo\build\CMakeFiles 0
    C:\VC\VC\BIN\nmake.exe -f CMakeFiles\Makefile2 /nologo -NS                 CMakeFiles\install.dir\all
    C:\CMake\bin\cmake.exe -E cmake_progress_start C:\Users\alex\sandbox\rezolution\testgeo\build\CMakeFiles 0

As you can see no call to cmake_install.cmake was made

Struggling with this two days. Really need help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions