mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-21 23:08:07 +00:00
Fix indentation and divided the cmake into libraries and bins
- Each library and binary got their own CMakeLists.txt - Indentation was fixed everywhere - Weird if statement flows replaced
This commit is contained in:
9
dNet/CMakeLists.txt
Normal file
9
dNet/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
file(
|
||||
GLOB SOURCES_DNET
|
||||
LIST_DIRECTORIES false
|
||||
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
*.cpp
|
||||
)
|
||||
|
||||
add_library(dNet ${SOURCES_DNET})
|
||||
target_link_libraries(dNet dCommon) # Needed because otherwise linker errors occur.
|
Reference in New Issue
Block a user