|
@@ -23,11 +23,9 @@
|
|
|
# Define target name
|
|
# Define target name
|
|
|
set (TARGET_NAME STB)
|
|
set (TARGET_NAME STB)
|
|
|
|
|
|
|
|
-# Define source files
|
|
|
|
|
-define_source_files (GLOB_CPP_PATTERNS *.c)
|
|
|
|
|
-
|
|
|
|
|
# Setup target
|
|
# Setup target
|
|
|
-setup_library ()
|
|
|
|
|
|
|
+add_custom_target (${TARGET_NAME} ALL) # Dummy target just so that its post-build step can install headers to the build tree
|
|
|
|
|
+set (STATIC_LIBRARY_TARGETS ${STATIC_LIBRARY_TARGETS} ${TARGET_NAME} PARENT_SCOPE)
|
|
|
|
|
|
|
|
# Install headers for building the Urho3D library
|
|
# Install headers for building the Urho3D library
|
|
|
-install_header_files (DIRECTORY ./ DESTINATION ${DEST_INCLUDE_DIR}/ThirdParty/STB FILES_MATCHING PATTERN *.h BUILD_TREE_ONLY) # Note: the trailing slash is significant
|
|
|
|
|
|
|
+install_header_files (DIRECTORY ./ DESTINATION ${DEST_INCLUDE_DIR}/ThirdParty/STB FILES_MATCHING PATTERN *.h) # Note: the trailing slash is significant
|