Organized projects into folders, for IDEs that support it (e.g. Visual Studio)
This commit is contained in:
parent
b85bf692c0
commit
ef78b6d0f3
3 changed files with 15 additions and 2 deletions
|
@ -82,7 +82,7 @@ endif()
|
|||
# disable the rpath stuff
|
||||
set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||
|
||||
# Setup Mac OS X stuff
|
||||
# setup Mac OS X stuff
|
||||
if(MACOSX)
|
||||
# SFML_BUILD_FRAMEWORKS needs two things :
|
||||
# first, it's available only for release
|
||||
|
@ -123,6 +123,10 @@ if(LINUX)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# enable project folders
|
||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||
set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMake")
|
||||
|
||||
# add the subdirectories
|
||||
add_subdirectory(src/SFML)
|
||||
if(SFML_BUILD_EXAMPLES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue