Explorar el Código

CMake: report what kind of libraries will be built

Ahmad Fatoum hace 7 años
padre
commit
c4b7d17516
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/CMakeLists.txt

+ 2 - 0
src/CMakeLists.txt

@@ -150,6 +150,7 @@ include(LibraryPathToLinkerFlags)
 library_path_to_linker_flags(__PKG_CONFIG_LIBS_PRIVATE "${LIBS_PRIVATE}")
 
 if(STATIC)
+  MESSAGE(STATUS "Building raylib static library")
   if(${PLATFORM} MATCHES "Web")
     set(CMAKE_STATIC_LIBRARY_SUFFIX ".bc")
   endif()
@@ -186,6 +187,7 @@ endif(STATIC)
 
 
 if(SHARED)
+  MESSAGE(STATUS "Building raylib shared library")
   add_library(raylib SHARED ${sources})
 
   target_compile_definitions(raylib