mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 02:25:52 -04:00
a8559bfbbc
* Update all CMakeLists of extensions to use clang-format * Run clang-format on all Extensions * Update GDCore CMakeLists.txt to add clang-format * Run clang-format on GDCore files * Update GDJS and GDCpp CMakeLists.txt to add clang-format * Run clang-format on GDCpp and GDJS files
27 lines
649 B
CMake
27 lines
649 B
CMake
cmake_minimum_required(VERSION 2.6)
|
|
cmake_policy(SET CMP0015 NEW)
|
|
|
|
project(TextEntryObject)
|
|
gd_add_extension_includes()
|
|
|
|
#Defines
|
|
###
|
|
gd_add_extension_definitions(TextEntryObject)
|
|
|
|
#The targets
|
|
###
|
|
include_directories(.)
|
|
file(GLOB source_files *.cpp *.h)
|
|
gd_add_clang_utils(TextEntryObject "${source_files}")
|
|
|
|
gd_add_extension_target(TextEntryObject "${source_files}")
|
|
gdcpp_add_runtime_extension_target(TextEntryObject_Runtime "${source_files}")
|
|
|
|
#Linker files for the IDE extension
|
|
###
|
|
gd_extension_link_libraries(TextEntryObject)
|
|
|
|
#Linker files for the GD C++ Runtime extension
|
|
###
|
|
gdcpp_runtime_extension_link_libraries(TextEntryObject_Runtime)
|