在cmake文件中使用edje_cc
Use of edje_cc in cmake file
我尝试在cmake文件中添加一个自定义目标,以便在构建时使用edje_cc自动编译.edc
文件,就像这里提到的那样。这是EFL项目的一部分。
但是我总是得到编译错误:
[ 1s] [ 0%] [ 50%] #### COMPILE EDC FILES ####
[ 1s] make[2]: edje_cc: Command not found
[ 1s] make[2]: *** [CMakeFiles/edje] Error 127
[ 1s] make[1]: *** [CMakeFiles/edje.dir/all] Error 2
[ 1s] make[1]: *** Waiting for unfinished jobs....
有人能告诉我怎么做,edje_cc编译器在编译中被发现?
您的机器上似乎没有安装edje_cc。修改CMakeLists.txt以添加查找edje_cc的检查。
project("Edje")
find_program(EDJE_CC edje_cc)
if (NOT EDJE_CC)
message(FATAL_ERROR "edje_cc is missing.")
endif()
相关文章:
- 如何使用CMake编译.proto文件来生成.grpcp.pb.cc和.grpc.pb.h文件
- 编译要在英特尔Hyperscan中使用的.cc文件时出现问题
- 使用 cmake 的 LLVM 构建在 tsan_libdispatch_mac.cc 期间失败; "Error: conflicting types for ..."
- 使用 sprintf 将十六进制0xAABBCC转换为字符串"AA:BB:CC"
- F 张量流/核心/common_runtime/device_factory.cc:77]具有相同优先级 210 的 G
- 为什么cc可以编译一个c++程序?
- 使用 g++ 编译时列出所有 cpp/cc 文件是否正常?
- gRPC trace.cc 的方法 TraceFlagList::Add(TraceFlag* flag) 使其链接列表
- 在 centOS7 上安装 ceres-solver 并让 helloworld.cc 工作
- 在头文件和 .cc 文件之间建立关系
- WebRTC 'goog-remb' 和 'transport-cc' SDP lines
- 在 Ubuntu 16.04 下构建 Android linphone 给出了 CC 和 CXX 的 cmake 路径变
- 如何在makefile中添加.c,.cc和.so文件以创建另一个.so
- 在NS3中运行示例sixlowpan.cc
- cc.game.restart() carsh when extend sdkbox in cocos2d-js 3.1
- 如何访问其他 .cc 文件中命名空间中定义的函数
- 在计算num_cpus时,gutil 的 sysinfo.cc 是否缺少右括号?
- 在 solaris cc v5.8 上编译 Boost
- 模板<> Solaris CC 需要的语法,但 MSVC 和 GCC 禁止
- 如果需要测试,则C 将常数变量放在CC文件中