Files
GDevelop/Extensions/PrimitiveDrawing/CMakeLists.txt

26 lines
593 B
CMake

cmake_minimum_required(VERSION 2.6)
cmake_policy(SET CMP0015 NEW)
project(PrimitiveDrawing)
gd_add_extension_includes()
#Defines
###
gd_add_extension_definitions(PrimitiveDrawing)
#The targets
###
include_directories(.)
file(GLOB source_files *)
gd_add_extension_target(PrimitiveDrawing "${source_files}")
gdcpp_add_runtime_extension_target(PrimitiveDrawing_Runtime "${source_files}")
#Linker files for the IDE extension
###
gd_extension_link_libraries(PrimitiveDrawing)
#Linker files for the GD C++ Runtime extension
###
gdcpp_runtime_extension_link_libraries(PrimitiveDrawing_Runtime)