Comparing version 2.0.0 to 2.0.1
@@ -32,5 +32,15 @@ cmake_minimum_required(VERSION 2.8) | ||
target_link_libraries(librg.demo-server enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} m) | ||
target_link_libraries(librg.demo-client enet SDL2 SDL2main ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} m) | ||
target_link_libraries(librg.demo-server enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) | ||
target_link_libraries(librg.demo-client enet SDL2 SDL2main ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) | ||
if (WIN32) | ||
target_link_libraries(librg.demo-server ws2_32 winmm) | ||
target_link_libraries(librg.demo-client ws2_32 winmm) | ||
endif() | ||
if (UNIX) | ||
target_link_libraries(librg.demo-server m) | ||
target_link_libraries(librg.demo-client m) | ||
endif() | ||
elseif (LIBRG_TEST) | ||
@@ -47,6 +57,17 @@ | ||
target_link_libraries(librg.server enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} m) | ||
target_link_libraries(librg.client enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} m) | ||
#target_link_libraries(librg.entity enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} m) | ||
target_link_libraries(librg.server enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) | ||
target_link_libraries(librg.client enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) | ||
if (WIN32) | ||
target_link_libraries(librg.server ws2_32 winmm) | ||
target_link_libraries(librg.client ws2_32 winmm) | ||
endif() | ||
if (UNIX) | ||
target_link_libraries(librg.server m) | ||
target_link_libraries(librg.client m) | ||
endif() | ||
#target_link_libraries(librg.entity enet ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) | ||
endif() |
{ | ||
"name": "librg.c", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Pure C library for building simple and elegant cross-platform mmo client-server solutions.", | ||
@@ -24,7 +24,8 @@ "main": "include/librg.h", | ||
"enet.c": "^1.3.15", | ||
"zpl.c": "^3.0.3", | ||
"zpl_cull.c": "^2.1.1", | ||
"zpl_event.c": "^1.0.7", | ||
"sdl2.c": "^2.0.5", | ||
"zpl.c": "^3.0.4", | ||
"zpl_cull.c": "^2.1.2", | ||
"zpl_event.c": "^1.0.8", | ||
"zpl_math.c": "^1.0.1" | ||
} | ||
} |
@@ -7,3 +7,3 @@ <div align="center"> | ||
<a href="https://travis-ci.org/librg/librg"><img src="https://travis-ci.org/librg/librg.svg" alt="Build status" /></a> | ||
<a href="https://github.com/librg/librg"><img src="https://img.shields.io/npm/v/librg.c.svg?maxAge=3600" alt="NPM version" /></a> | ||
<a href="https://www.npmjs.com/package/librg.c"><img src="https://img.shields.io/npm/v/librg.c.svg?maxAge=3600" alt="NPM version" /></a> | ||
<a href="https://david-dm.org/librg/librg"><img src="https://img.shields.io/david/librg/librg.svg?maxAge=3600" alt="Dependencies" /></a> | ||
@@ -10,0 +10,0 @@ <a href="https://discord.gg/2fZVEym"><img src="https://discordapp.com/api/guilds/219565308007022592/embed.png" alt="Discord server" /></a> |
@@ -0,0 +0,0 @@ const readline = require('readline'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
137538
6
2
+ Addedsdl2.c@^2.0.5
+ Addedsdl2.c@2.0.7(transitive)
Updatedzpl.c@^3.0.4
Updatedzpl_cull.c@^2.1.2
Updatedzpl_event.c@^1.0.8