summaryrefslogtreecommitdiff
path: root/louloulibs
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-10 11:11:08 +0100
committerlouiz’ <louiz@louiz.org>2017-03-10 11:11:08 +0100
commit2b6b577375cad899bcd4c00b8ea91fb5ef4c907c (patch)
tree35013526c43e72f36f988c6e04e23fa771292f84 /louloulibs
parent2013ed6f98c0bffdb00fe06df5dca1d1ad422305 (diff)
downloadbiboumi-2b6b577375cad899bcd4c00b8ea91fb5ef4c907c.tar.gz
biboumi-2b6b577375cad899bcd4c00b8ea91fb5ef4c907c.tar.bz2
biboumi-2b6b577375cad899bcd4c00b8ea91fb5ef4c907c.tar.xz
biboumi-2b6b577375cad899bcd4c00b8ea91fb5ef4c907c.zip
cmake: do not use intermediate libraries at all (not even OBJECTS)
Diffstat (limited to 'louloulibs')
-rw-r--r--louloulibs/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/louloulibs/CMakeLists.txt b/louloulibs/CMakeLists.txt
index 4c37c20..e1e402f 100644
--- a/louloulibs/CMakeLists.txt
+++ b/louloulibs/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.0)
set(${PROJECT_NAME}_VERSION_MAJOR 1)
set(${PROJECT_NAME}_VERSION_MINOR 0)
@@ -102,35 +102,35 @@ endif()
#
file(GLOB source_utils
utils/*.[hc]pp)
-add_library(utils OBJECT ${source_utils})
+set(source_utils ${source_utils} PARENT_SCOPE)
#
## config
#
file(GLOB source_config
config/*.[hc]pp)
-add_library(config OBJECT ${source_config})
+set(source_config ${source_config} PARENT_SCOPE)
#
## logger
#
file(GLOB source_logger
logger/*.[hc]pp)
-add_library(logger OBJECT ${source_logger})
+set(source_logger ${source_logger} PARENT_SCOPE)
#
## network
#
file(GLOB source_network
network/*.[hc]pp)
-add_library(network OBJECT ${source_network})
+set(source_network ${source_network} PARENT_SCOPE)
#
## xmpplib
#
file(GLOB source_xmpplib
xmpp/*.[hc]pp)
-add_library(xmpplib OBJECT ${source_xmpplib})
+set(source_xmpplib ${source_xmpplib} PARENT_SCOPE)
# Define a __FILENAME__ macro with the relative path (from the base project directory)
# of each source file