Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

windows版的源码能直接拿到MacOs去使用XCode编译? #80

Open
WantXry opened this issue Jan 15, 2021 · 0 comments
Open

windows版的源码能直接拿到MacOs去使用XCode编译? #80

WantXry opened this issue Jan 15, 2021 · 0 comments

Comments

@WantXry
Copy link

WantXry commented Jan 15, 2021

我拿windows版的源码去MacOs使用CMake生成一个Xcode工程,源码一些win使用到的api我都改成macos的,但是在构建的时候复制.sh文件出错,报错如下:

PhaseScriptExecution CMake\ PostBuild\ Rules /Users/MyUser/work/Cef/QCefView_New/src/QCefView/QCefView.build/Debug/QCefView.build/Script-3E9565CBCB3C44A9B618F80A.sh (in target 'QCefView' from project 'QCefView')

    cd /Users/MyUser/work/Cef/QCefView-master

    /bin/sh -c /Users/MyUse/work/Cef/QCefView_New/src/QCefView/QCefView.build/Debug/QCefView.build/Script-3E9565CBCB3C44A9B618F80A.sh

CMake Error: cmake version 3.19.2

Usage: /Applications/CMake.app/Contents/bin/cmake -E [arguments...]

Available commands: 

  capabilities              - Report capabilities built into cmake in JSON format

  cat ...            - concat the files and print them to the standard output

  chdir dir cmd [args...]   - run command in a given directory

  compare_files [--ignore-eol] file1 file2

                              - check if file1 is same as file2

  copy ... destination  - copy files to destination (either file or directory)

  copy_directory

... destination   - copy content of ... directories to 'destination' directory

  copy_if_different ... destination  - copy files if it has changed

  echo [...]        - displays arguments as text

  echo_append [...] - displays arguments as text but no new line

  env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]...

                            - run command in a modified environment

  environment               - display the current environment

  make_directory

...   - create parent and directories

  md5sum ...          - create MD5 checksum of files

  sha1sum ...         - create SHA1 checksum of files

  sha224sum ...       - create SHA224 checksum of files

  sha256sum ...       - create SHA256 checksum of files

  sha384sum ...       - create SHA384 checksum of files

  sha512sum ...       - create SHA512 checksum of files

  remove [-f] ...     - remove the file(s), use -f to force it (deprecated: use rm instead)

  remove_directory

... - remove directories and their contents (deprecated: use rm instead)

  rename oldname newname    - rename a file or directory (on one volume)

  rm [-rRf] <file/dir>...    - remove files or directories, use -f to force it, r or R to remove directories and their contents recursively

  server                    - start cmake in server mode

  sleep ...         - sleep for given number of seconds

  tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]

                            - create or extract a tar or zip archive

  time command [args...]    - run command and display elapsed time

  touch ...           - touch a .

  touch_nocreate ...  - touch a but do not create it.

  create_symlink old new    - create a symbolic link new -> old

  create_hardlink old new   - create a hard link new -> old

  true                      - do nothing with an exit code of 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant