Skip to content
Browse files

Add STATIC to libraries in CMakeLists.txt files

  • Loading branch information...
1 parent 5f632ec commit bf66c9a79dc8ea3930ecd2307c4de24280c688cb @ludamad committed
View
2 libs/lua/CMakeLists.txt
@@ -57,5 +57,5 @@ set( lua_src
print.c
)
-add_library( lua
+add_library( lua STATIC
${lua_src} )
View
1 src/common/CMakeLists.txt
@@ -20,6 +20,7 @@ file(GLOB lcommon_src RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
)
add_library( lcommon
+ STATIC
${lcommon_src} )
AUX_SOURCE_DIRECTORY(tests lcommon_tests)
View
1 src/draw/CMakeLists.txt
@@ -38,6 +38,7 @@ file(GLOB ldraw_tests RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
)
add_library( ldraw
+ STATIC
${ldraw_src} )
set(LINKEDLIBS
View
3 src/lanarts/CMakeLists.txt
@@ -88,6 +88,7 @@ file(GLOB lanarts_examples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
add_library( lanartslib
+ STATIC
${lanarts_src}
)
@@ -136,4 +137,4 @@ target_link_libraries( lanarts_examples
)
enable_testing()
-add_test(NAME lanarts_tests COMMAND ${EXECUTABLE_OUTPUT_PATH}/lanarts_tests )
+add_test(NAME lanarts_tests COMMAND ${EXECUTABLE_OUTPUT_PATH}/lanarts_tests )
View
1 src/luawrap/CMakeLists.txt
@@ -20,6 +20,7 @@ aux_source_directory("src/" luawrap_src) #Find source files
aux_source_directory("include/" luawrap_inc) #Find source files
add_library( luawrap
+ STATIC
${luawrap_src}
${luawrap_inc} )
View
1 src/net/CMakeLists.txt
@@ -29,6 +29,7 @@ set( lanarts_net_include
)
add_library( lanarts_net
+ STATIC
${lanarts_net_src})
View
1 src/sound/CMakeLists.txt
@@ -22,6 +22,7 @@ aux_source_directory("src/lua" lua_lsound_src) #Find source files
aux_source_directory("include/lsound" lsound_inc) #Find source files
add_library( lsound
+ STATIC
${lsound_src}
${lua_lsound_src}
${lsound_inc} )

0 comments on commit bf66c9a

Please sign in to comment.
Something went wrong with that request. Please try again.