Skip to content
Browse files

added lib folder for visual studio libraries

  • Loading branch information...
1 parent 36f8525 commit a94f92154b6a78bb66ccb6c11c2760472f214f9c @victusfate committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 create_cmake.rb
View
3 create_cmake.rb
@@ -30,6 +30,7 @@
puts "cmake_minimum_required(VERSION 2.8)"
puts "project(#{name})"
+puts 'SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)'
libfiles.each do |libfile|
puts 'add_library('+File.basename(libfile)
@@ -50,6 +51,8 @@
end
puts ')'
puts 'message(STATUS "added '+libfile+' library")'
+ puts 'SET_PROPERTY(TARGET '+File.basename(libfile)+' PROPERTY FOLDER "lib")'
+
end
3.times { puts '' }
puts 'message(STATUS "adding include directories")'

0 comments on commit a94f921

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