PJS: new config file structure autogenerated at compile on linux systems to find presets and fonts. Users can not change preset dirs in the config fil

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@177 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2007-06-14 05:58:13 +00:00
parent c2fec8ab8b
commit 74b0b13799
2 changed files with 25 additions and 1 deletions

View File

@ -26,11 +26,13 @@ IF(USE_FTGL)
ENDIF(USE_FTGL)
CONFIGURE_FILE("libprojectM.pc.in" "libprojectM.pc" @ONLY)
CONFIGURE_FILE("config.1.00.in" "config.1.00" @ONLY)
INSTALL(FILES "${CMAKE_BINARY_DIR}/libprojectM.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
INSTALL(TARGETS projectM DESTINATION lib)
INSTALL(FILES projectM.h pbuffer.h PCM.h BeatDetect.h Preset.h event.h console_interface.h dlldefs.h fatal.h PCM.h DESTINATION include/libprojectM)
INSTALL(FILES config DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM)
INSTALL(FILES config.1.00 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM)
FILE(GLOB presets "presets/*.milk")
INSTALL(FILES ${presets} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM/presets)
FILE(GLOB fonts "fonts/*.ttf")

View File

@ -0,0 +1,22 @@
projectM Config file (ONLY CHANGE THE NUMBERS!!!!!!)
------------------------------------------------------
Texture Size (Must be power of 2) [256,512,1024,2048, etc]
512
Grid X Dimension (Higher is Better but much slower) 12-60
32
Grid Y Dimension (Higher is Better but much slower) 8-45
24
Windowed Width (Initial window width)
512
Windowed Height (Initial window width)
512
Fullscreen Width (set to your native screen resolution)
1024
Fullscreen Height (set to your native screen resolution)
768
FPS (Higher the Better) 30-90 is realisitc
35
Fullscreen on Startup (1=yes, 0=no)
0
Preset Path
@CMAKE_INSTALL_PREFIX@/share/projectM/presets