mirror of
https://github.com/SWG-Source/stationapi.git
synced 2026-01-16 23:04:18 -05:00
Merge branch 'install-targets' of github.com:apathyboy/stationapi into install-targets
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
externals/udplibrary
|
||||
externals/udplibrary
|
||||
build*
|
||||
|
||||
@@ -14,5 +14,5 @@
|
||||
* INFO:
|
||||
FILENAME = "var/log/swgchat.log"
|
||||
* VERBOSE:
|
||||
FILENAME = "var/log/verbose.%datetime{%Y%M%d_%H%m%s}.log"
|
||||
FILENAME = "var/log/swgchat-verbose.%datetime{%Y%M%d_%H%m%s}.log"
|
||||
TO_STANDARD_OUTPUT = false
|
||||
|
||||
@@ -66,13 +66,10 @@ target_link_libraries(stationchat
|
||||
stationapi
|
||||
udplibrary
|
||||
${Boost_LIBRARIES}
|
||||
${SQLite3_LIBRARY})
|
||||
${SQLite3_LIBRARY}
|
||||
$<$<PLATFORM_ID:Windows>:ws2_32>)
|
||||
|
||||
target_include_directories(stationchat PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(stationchat ws2_32)
|
||||
endif()
|
||||
|
||||
install(TARGETS stationchat RUNTIME DESTINATION bin)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
#define ELPP_DISABLE_DEFAULT_CRASH_HANDLING 1
|
||||
#define ELPP_DEFAULT_LOG_FILE "logs/swgchat.log"
|
||||
#define ELPP_NO_DEFAULT_LOG_FILE
|
||||
|
||||
#include "easylogging++.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user