Files
GDevelop/Extensions/TextEntryObject/CMakeLists.txt
T
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* 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
2018-05-09 15:57:38 -07:00

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)