Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake throws up on Windows #118

Closed
alex-s168 opened this issue Mar 20, 2024 · 3 comments
Closed

CMake throws up on Windows #118

alex-s168 opened this issue Mar 20, 2024 · 3 comments
Assignees
Labels
build-system Issue related with CMake or compilers

Comments

@alex-s168
Copy link

It complains about there begin backslashes in line 40 in cmake_install.cmake
I fixed it by removing like 16 from NAppGenerateTools.cmake

@frang75
Copy link
Owner

frang75 commented Mar 21, 2024

Hi @alex-s168
Please provide more context. Version of Windows, version of Visual Studio, version of CMake and logs.

@frang75 frang75 self-assigned this Mar 21, 2024
@frang75 frang75 added the build-system Issue related with CMake or compilers label Mar 21, 2024
@alex-s168
Copy link
Author

>cmake --install build --config Release --prefix C:/nappgui 
-- Up-to-date: C:/nappgui/inc/nappgui.h
CMake Warning (dev) at build/cmake_install.cmake:40 (file):
  Syntax error in cmake code at

    C:/Users/Alexander.Nutz/EmDaemonNewNewNew/nappgui_src/build/cmake_install.cmake:40

  when parsing string

    C:\Users\Alexander.Nutz\EmDaemonNewNewNew\nappgui_src\build\tools\build\Debug\bin\nrc.exe

  Invalid escape sequence \U

  Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
  "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

It uses some VS version
don't know which one exactly

> cmake --version
cmake version 3.29.0-rc1

@frang75
Copy link
Owner

frang75 commented May 21, 2024

Fixed in this commit: cda8a3f
Thanks for reporting.

@frang75 frang75 closed this as completed Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-system Issue related with CMake or compilers
Projects
None yet
Development

No branches or pull requests

2 participants