axmol/external/ConvertUTF/CMakeLists.txt

20 lines
372 B
CMake
Raw Normal View History

2020-11-16 14:47:43 +08:00
2021-06-01 11:47:19 +08:00
set(lib_name ConvertUTF)
2020-11-16 14:47:43 +08:00
set(target_name ${lib_name})
project(${lib_name})
add_library(${target_name} STATIC
2021-06-01 11:47:19 +08:00
ConvertUTF.cpp
2020-11-16 14:47:43 +08:00
)
target_include_directories(${target_name} PUBLIC .)
set_target_properties(${target_name}
PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
FOLDER "External"
)