Add project declaration for CMake
Change-Id: I8a544fa91d2fba957dceb9e6b2a60ea824780e48 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/244096 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
1585d7e108
commit
2b92142b0e
@ -649,7 +649,8 @@ def WriteProject(project):
|
||||
extName = posixpath.join(project.build_path, 'CMakeLists.ext')
|
||||
out.write('# Generated by gn_to_cmake.py.\n')
|
||||
out.write('cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)\n')
|
||||
out.write('cmake_policy(VERSION 2.8.8)\n\n')
|
||||
out.write('cmake_policy(VERSION 2.8.8)\n')
|
||||
out.write('project(Skia)\n\n')
|
||||
|
||||
out.write('file(WRITE "')
|
||||
out.write(CMakeStringEscape(posixpath.join(project.build_path, "empty.cpp")))
|
||||
|
Loading…
Reference in New Issue
Block a user