2013-05-14 19:40:21 +00:00
cmake_minimum_required ( VERSION 2.6 )
2014-06-03 23:30:03 +00:00
INCLUDE ( CPack )
2013-05-14 19:40:21 +00:00
project ( emulationstation )
#-------------------------------------------------------------------------------
#add local find scripts to CMAKE path
LIST ( APPEND CMAKE_MODULE_PATH
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / C M a k e / U t i l s
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / C M a k e / P a c k a g e s
)
#-------------------------------------------------------------------------------
#set up OpenGL system variable
set ( GLSystem "Desktop OpenGL" CACHE STRING "The OpenGL system to be used" )
set_property ( CACHE GLSystem PROPERTY STRINGS "Desktop OpenGL" "OpenGL ES" )
#-------------------------------------------------------------------------------
#check if we're running on Raspberry Pi
MESSAGE ( "Looking for bcm_host.h" )
if ( EXISTS "/opt/vc/include/bcm_host.h" )
MESSAGE ( "bcm_host.h found" )
set ( BCMHOST found )
set ( GLSystem "OpenGL ES" )
else ( )
MESSAGE ( "bcm_host.h not found" )
endif ( )
#finding necessary packages
#-------------------------------------------------------------------------------
if ( ${ GLSystem } MATCHES "Desktop OpenGL" )
find_package ( OpenGL REQUIRED )
else ( )
find_package ( OpenGLES REQUIRED )
endif ( )
2013-12-15 00:52:12 +00:00
find_package ( Freetype REQUIRED )
2013-05-14 19:40:21 +00:00
find_package ( FreeImage REQUIRED )
2013-08-18 17:17:24 +00:00
find_package ( SDL2 REQUIRED )
2014-04-16 17:32:40 +00:00
find_package ( Boost REQUIRED COMPONENTS system filesystem date_time )
2013-07-11 08:47:49 +00:00
find_package ( Eigen3 REQUIRED )
2013-10-10 18:11:01 +00:00
find_package ( CURL REQUIRED )
2013-05-14 19:40:21 +00:00
2013-05-22 17:11:10 +00:00
#add ALSA for Linux
if ( ${ CMAKE_SYSTEM_NAME } MATCHES "Linux" )
find_package ( ALSA REQUIRED )
endif ( )
2013-05-14 19:40:21 +00:00
#-------------------------------------------------------------------------------
#set up compiler flags and excutable names
if ( DEFINED BCMHOST )
add_definitions ( -D_RPI_ )
endif ( )
2013-09-15 17:56:47 +00:00
#-------------------------------------------------------------------------------
#set up _WIN32_WINNT variable (used by boost::asio) on Windows
macro ( get_WIN32_WINNT version )
if ( WIN32 AND CMAKE_SYSTEM_VERSION )
set ( ver ${ CMAKE_SYSTEM_VERSION } )
string ( REPLACE "." "" ver ${ ver } )
string ( REGEX REPLACE "([0-9])" "0\\1" ver ${ ver } )
set ( ${ version } "0x${ver}" )
endif ( )
endmacro ( )
if ( WIN32 )
get_WIN32_WINNT ( ver )
add_definitions ( -D_WIN32_WINNT= ${ ver } )
endif ( )
#-------------------------------------------------------------------------------
2013-05-14 19:40:21 +00:00
if ( MSVC )
set ( CMAKE_DEBUG_POSTFIX "d" )
add_definitions ( -D_CRT_SECURE_NO_DEPRECATE )
add_definitions ( -D_CRT_NONSTDC_NO_DEPRECATE )
2013-05-17 09:58:43 +00:00
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP" ) #multi-processor compilation
set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP" ) #multi-processor compilation
2013-05-14 19:40:21 +00:00
endif ( )
if ( CMAKE_COMPILER_IS_GNUCXX )
2013-05-24 09:36:29 +00:00
#check for G++ 4.7+
execute_process ( COMMAND ${ CMAKE_CXX_COMPILER } -dumpversion OUTPUT_VARIABLE G++_VERSION )
if ( G++_VERSION VERSION_LESS 4.7 )
message ( SEND_ERROR "You need at least G++ 4.7 to compile EmulationStation!" )
2013-05-22 17:15:44 +00:00
endif ( )
#set up compiler flags for GCC
2014-04-12 20:14:40 +00:00
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -O3" ) #support C++11 for std::, optimize
set ( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -O3" ) #-s = strip binary
2013-05-14 19:40:21 +00:00
endif ( )
if ( ${ GLSystem } MATCHES "Desktop OpenGL" )
add_definitions ( -DUSE_OPENGL_DESKTOP )
else ( )
add_definitions ( -DUSE_OPENGL_ES )
endif ( )
2013-07-10 11:32:51 +00:00
add_definitions ( -DEIGEN_DONT_ALIGN )
2013-05-14 19:40:21 +00:00
#-------------------------------------------------------------------------------
#add include directories
set ( ES_INCLUDE_DIRS
$ { F R E E T Y P E _ I N C L U D E _ D I R S }
$ { F r e e I m a g e _ I N C L U D E _ D I R S }
2013-08-18 17:17:24 +00:00
$ { S D L 2 _ I N C L U D E _ D I R }
2013-05-14 19:40:21 +00:00
$ { B o o s t _ I N C L U D E _ D I R S }
2013-07-11 08:47:49 +00:00
$ { E I G E N 3 _ I N C L U D E _ D I R }
2013-10-10 18:11:01 +00:00
$ { C U R L _ I N C L U D E _ D I R }
2013-05-14 19:40:21 +00:00
)
2013-05-22 17:11:10 +00:00
#add ALSA for Linux
if ( ${ CMAKE_SYSTEM_NAME } MATCHES "Linux" )
LIST ( APPEND ES_INCLUDE_DIRS
$ { A L S A _ I N C L U D E _ D I R S }
)
endif ( )
2013-05-14 19:40:21 +00:00
if ( DEFINED BCMHOST )
LIST ( APPEND ES_INCLUDE_DIRS
" / o p t / v c / i n c l u d e "
" / o p t / v c / i n c l u d e / i n t e r f a c e / v c o s "
" / o p t / v c / i n c l u d e / i n t e r f a c e / v m c s _ h o s t / l i n u x "
" / o p t / v c / i n c l u d e / i n t e r f a c e / v c o s / p t h r e a d s "
)
2013-05-15 07:50:59 +00:00
else ( )
if ( ${ GLSystem } MATCHES "Desktop OpenGL" )
LIST ( APPEND ES_INCLUDE_DIRS
$ { O P E N G L _ I N C L U D E _ D I R }
)
else ( )
LIST ( APPEND ES_INCLUDE_DIRS
$ { O P E N G L E S _ I N C L U D E _ D I R }
)
endif ( )
2013-05-14 19:40:21 +00:00
endif ( )
#-------------------------------------------------------------------------------
#define basic sources and headers
set ( ES_HEADERS
2014-03-19 00:55:37 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / A s y n c H a n d l e . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / A u d i o M a n a g e r . h
2013-05-16 19:26:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / E m u l a t i o n S t a t i o n . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / F i l e D a t a . h
2013-11-06 01:41:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / F i l e S o r t s . h
2013-06-02 15:08:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / G u i C o m p o n e n t . h
2014-05-29 20:41:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / H e l p S t y l e . h
2013-09-15 17:56:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / H t t p R e q . h
2013-05-16 19:26:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I m a g e I O . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I n p u t C o n f i g . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I n p u t M a n a g e r . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / L o g . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / M a t h E x p . h
2013-08-14 12:16:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / M e t a D a t a . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / p l a t f o r m . h
2013-09-28 16:10:06 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / P l a t f o r m I d . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / R e n d e r e r . h
2013-09-29 02:54:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S c r a p e r C m d L i n e . h
2013-06-17 19:01:03 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S e t t i n g s . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S o u n d . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S y s t e m D a t a . h
2013-11-12 23:28:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / T h e m e D a t a . h
2014-03-12 23:24:34 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / U t i l . h
2013-05-22 17:11:10 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / V o l u m e C o n t r o l . h
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / W i n d o w . h
2014-06-01 17:57:20 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / G a m e l i s t . h
2013-11-12 23:28:15 +00:00
2014-04-19 00:00:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / A n i m a t e d I m a g e C o m p o n e n t . h
2013-09-15 19:11:39 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / A s y n c R e q C o m p o n e n t . h
2013-08-22 20:29:50 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / B u t t o n C o m p o n e n t . h
2014-04-19 18:37:10 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / B u s y C o m p o n e n t . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / C o m p o n e n t G r i d . h
2014-03-01 21:02:44 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / C o m p o n e n t L i s t . h
2013-09-28 22:35:38 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / D a t e T i m e C o m p o n e n t . h
2014-01-25 23:34:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / H e l p C o m p o n e n t . h
2014-02-08 02:15:48 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / I L i s t . h
2013-06-02 15:08:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / I m a g e C o m p o n e n t . h
2013-12-01 01:04:46 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / I m a g e G r i d C o m p o n e n t . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / M e n u C o m p o n e n t . h
2013-08-23 02:41:40 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / N i n e P a t c h C o m p o n e n t . h
2013-10-01 21:52:30 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / O p t i o n L i s t C o m p o n e n t . h
2013-09-23 19:58:28 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / R a t i n g C o m p o n e n t . h
2014-03-12 03:00:08 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S c r a p e r S e a r c h C o m p o n e n t . h
2013-07-03 01:01:58 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S c r o l l a b l e C o n t a i n e r . h
2013-06-19 01:12:30 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S l i d e r C o m p o n e n t . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S w i t c h C o m p o n e n t . h
2013-06-14 15:48:13 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / T e x t C o m p o n e n t . h
2013-08-18 14:16:11 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / T e x t E d i t C o m p o n e n t . h
2013-06-02 15:08:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / T e x t L i s t C o m p o n e n t . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i D e t e c t D e v i c e . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i F a s t S e l e c t . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M e t a D a t a E d . h
2014-03-15 17:18:50 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M s g B o x . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i G a m e S c r a p e r . h
2014-04-05 05:41:08 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i G a m e l i s t O p t i o n s . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i I n p u t C o n f i g . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M e n u . h
2014-03-12 23:24:34 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S e t t i n g s . h
2014-03-18 21:05:56 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S c r a p e r M u l t i . h
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S c r a p e r S t a r t . h
2014-03-21 16:10:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i T e x t E d i t P o p u p . h
2013-11-12 23:28:15 +00:00
2013-09-19 23:41:14 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / S c r a p e r . h
2013-09-16 19:53:24 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / G a m e s D B S c r a p e r . h
2013-09-24 07:26:33 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / T h e A r c h i v e S c r a p e r . h
2013-11-12 23:28:15 +00:00
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / p u g i X M L / p u g i c o n f i g . h p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / p u g i X M L / p u g i x m l . h p p
2013-11-12 23:28:15 +00:00
2014-03-20 01:13:59 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / n a n o s v g / n a n o s v g . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / n a n o s v g / n a n o s v g r a s t . h
2013-12-22 22:16:01 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / B a s i c G a m e L i s t V i e w . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / D e t a i l e d G a m e L i s t V i e w . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / I G a m e L i s t V i e w . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / I S i m p l e G a m e L i s t V i e w . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / G r i d G a m e L i s t V i e w . h
2013-12-11 03:23:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / S y s t e m V i e w . h
2013-11-12 23:28:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / V i e w C o n t r o l l e r . h
2013-12-08 17:35:43 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / A n i m a t i o n . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / A n i m a t i o n C o n t r o l l e r . h
2013-12-13 03:17:59 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / L a m b d a A n i m a t i o n . h
2013-12-08 17:35:43 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / L a u n c h A n i m a t i o n . h
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / M o v e C a m e r a A n i m a t i o n . h
2013-10-04 23:24:41 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / F o n t . h
2013-06-21 16:49:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / R e s o u r c e M a n a g e r . h
2014-03-20 01:13:59 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / S V G R e s o u r c e . h
2013-06-21 16:49:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / T e x t u r e R e s o u r c e . h
2013-05-16 19:26:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / R e s o u r c e s . h
2013-05-14 19:40:21 +00:00
)
set ( ES_SOURCES
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / A u d i o M a n a g e r . c p p
2013-11-06 01:41:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / F i l e D a t a . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / F i l e S o r t s . c p p
2013-06-02 15:08:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / G u i C o m p o n e n t . c p p
2014-05-29 20:41:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / H e l p S t y l e . c p p
2013-09-15 17:56:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / H t t p R e q . c p p
2013-05-16 19:26:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I m a g e I O . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I n p u t C o n f i g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / I n p u t M a n a g e r . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / L o g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / m a i n . c p p
2014-05-28 14:34:25 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / M a m e N a m e M a p . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / M a t h E x p . c p p
2013-08-14 12:16:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / M e t a D a t a . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / p l a t f o r m . c p p
2014-05-26 22:31:16 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / P l a t f o r m I d . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / R e n d e r e r _ d r a w _ g l . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / R e n d e r e r _ i n i t . c p p
2013-09-29 02:54:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S c r a p e r C m d L i n e . c p p
2013-06-17 19:01:03 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S e t t i n g s . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S o u n d . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / S y s t e m D a t a . c p p
2013-11-12 23:28:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / T h e m e D a t a . c p p
2014-03-15 22:06:16 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / U t i l . c p p
2013-05-22 17:11:10 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / V o l u m e C o n t r o l . c p p
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / W i n d o w . c p p
2014-06-01 17:57:20 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / G a m e l i s t . c p p
2013-11-12 23:28:15 +00:00
2014-04-19 00:00:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / A n i m a t e d I m a g e C o m p o n e n t . c p p
2013-09-15 19:11:39 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / A s y n c R e q C o m p o n e n t . c p p
2013-08-22 20:29:50 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / B u t t o n C o m p o n e n t . c p p
2014-04-19 18:37:10 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / B u s y C o m p o n e n t . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / C o m p o n e n t G r i d . c p p
2014-03-01 21:02:44 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / C o m p o n e n t L i s t . c p p
2013-09-28 22:35:38 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / D a t e T i m e C o m p o n e n t . c p p
2014-01-25 23:34:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / H e l p C o m p o n e n t . c p p
2013-06-02 15:08:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / I m a g e C o m p o n e n t . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / M e n u C o m p o n e n t . c p p
2013-08-23 02:41:40 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / N i n e P a t c h C o m p o n e n t . c p p
2013-09-23 19:58:28 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / R a t i n g C o m p o n e n t . c p p
2014-03-12 03:00:08 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S c r a p e r S e a r c h C o m p o n e n t . c p p
2013-07-03 01:01:58 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S c r o l l a b l e C o n t a i n e r . c p p
2013-06-19 01:12:30 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S l i d e r C o m p o n e n t . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / S w i t c h C o m p o n e n t . c p p
2013-06-14 15:48:13 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / T e x t C o m p o n e n t . c p p
2013-08-18 14:16:11 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / c o m p o n e n t s / T e x t E d i t C o m p o n e n t . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i D e t e c t D e v i c e . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i F a s t S e l e c t . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M e t a D a t a E d . c p p
2014-03-15 17:18:50 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M s g B o x . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i G a m e S c r a p e r . c p p
2014-04-05 05:41:08 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i G a m e l i s t O p t i o n s . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i I n p u t C o n f i g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i M e n u . c p p
2014-03-12 23:24:34 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S e t t i n g s . c p p
2014-03-18 21:05:56 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S c r a p e r M u l t i . c p p
2014-03-01 00:52:32 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i S c r a p e r S t a r t . c p p
2014-03-21 16:10:19 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / g u i s / G u i T e x t E d i t P o p u p . c p p
2013-11-12 23:28:15 +00:00
2013-09-24 18:06:13 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / S c r a p e r . c p p
2013-09-16 19:53:24 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / G a m e s D B S c r a p e r . c p p
2013-09-24 07:26:33 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / s c r a p e r s / T h e A r c h i v e S c r a p e r . c p p
2013-11-12 23:28:15 +00:00
2013-05-14 19:40:21 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / p u g i X M L / p u g i x m l . c p p
2013-11-12 23:28:15 +00:00
2014-03-20 01:13:59 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / n a n o s v g / n a n o s v g _ i m p l . c p p
2013-10-04 23:24:41 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / F o n t . c p p
2013-06-21 16:49:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / R e s o u r c e M a n a g e r . c p p
2014-03-20 01:13:59 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / S V G R e s o u r c e . c p p
2013-06-21 16:49:29 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / r e s o u r c e s / T e x t u r e R e s o u r c e . c p p
2013-08-07 22:40:27 +00:00
2013-12-22 22:16:01 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / B a s i c G a m e L i s t V i e w . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / D e t a i l e d G a m e L i s t V i e w . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / I G a m e L i s t V i e w . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / I S i m p l e G a m e L i s t V i e w . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / g a m e l i s t / G r i d G a m e L i s t V i e w . c p p
2013-12-11 03:23:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / S y s t e m V i e w . c p p
2013-11-12 23:28:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / v i e w s / V i e w C o n t r o l l e r . c p p
2013-12-08 17:35:43 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / a n i m a t i o n s / A n i m a t i o n C o n t r o l l e r . c p p
2013-08-07 22:40:27 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / R e s o u r c e U t i l . c p p
2014-05-28 21:43:23 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / s p l a s h _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / w i n d o w _ i c o n _ 2 5 6 _ p n g . c p p
2013-08-23 02:41:40 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u t t o n _ p n g . c p p
2014-03-08 17:48:47 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u t t o n _ f i l l e d _ p n g . c p p
2014-03-25 23:10:35 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / t e x t i n p u t _ n i n e p a t c h _ p n g . c p p
2014-04-19 21:58:01 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / t e x t i n p u t _ n i n e p a t c h _ a c t i v e _ p n g . c p p
2013-08-23 02:41:40 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / f r a m e _ p n g . c p p
2014-02-13 23:10:28 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / s c r o l l _ g r a d i e n t _ p n g . c p p
2014-03-22 18:04:14 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ a _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ b _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ x _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ y _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ l _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ r _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ s t a r t _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ b u t t o n _ s e l e c t _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ u p _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ d o w n _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ l e f t _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ r i g h t _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ u p d o w n _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ l e f t r i g h t _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / h e l p _ d p a d _ a l l _ s v g . c p p
2014-03-15 22:06:16 +00:00
2014-02-16 18:27:58 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / o p e n s a n s _ h e b r e w _ c o n d e n s e d _ r e g u l a r _ t t f . c p p
2014-03-17 00:52:15 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / o p e n s a n s _ h e b r e w _ c o n d e n s e d _ l i g h t _ t t f . c p p
2014-03-22 18:04:14 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / a r r o w _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / o p t i o n _ a r r o w _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / c h e c k b o x _ c h e c k e d _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / c h e c k b o x _ u n c h e c k e d _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / s t a r _ f i l l e d _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / s t a r _ u n f i l l e d _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / o n _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / o f f _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / f a v _ a d d _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / f a v _ r e m o v e _ s v g . c p p
2014-03-22 21:02:25 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / s l i d e r _ k n o b _ s v g . c p p
2014-04-19 00:00:49 +00:00
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u s y _ 0 _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u s y _ 1 _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u s y _ 2 _ s v g . c p p
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / d a t a / c o n v e r t e d / b u s y _ 3 _ s v g . c p p
2013-05-14 19:40:21 +00:00
)
2014-03-15 22:06:16 +00:00
#SOURCE_GROUP(resources FILES ResourceUtil.cpp)
2013-08-07 22:40:27 +00:00
2013-05-14 19:40:21 +00:00
#add open gl specific sources
2013-09-28 01:17:41 +00:00
#if(${GLSystem} MATCHES "Desktop OpenGL")
2013-05-14 19:40:21 +00:00
LIST ( APPEND ES_SOURCES
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / R e n d e r e r _ i n i t _ s d l g l . c p p
)
2013-09-28 01:17:41 +00:00
#else()
# LIST(APPEND ES_SOURCES
# ${CMAKE_CURRENT_SOURCE_DIR}/src/Renderer_init_rpi.cpp
# )
#endif()
2013-05-14 19:40:21 +00:00
2013-05-16 19:26:19 +00:00
#-------------------------------------------------------------------------------
#define OS specific sources and headers
if ( MSVC )
LIST ( APPEND ES_SOURCES
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / s r c / E m u l a t i o n S t a t i o n . r c
)
endif ( )
2013-05-14 19:40:21 +00:00
#-------------------------------------------------------------------------------
#define libraries and directories
2013-05-16 10:04:02 +00:00
if ( DEFINED BCMHOST )
link_directories (
$ { B o o s t _ L I B R A R Y _ D I R S }
" / o p t / v c / l i b "
)
else ( )
link_directories (
$ { B o o s t _ L I B R A R Y _ D I R S }
)
endif ( )
2013-05-14 19:40:21 +00:00
set ( ES_LIBRARIES
2013-05-16 10:04:02 +00:00
$ { B o o s t _ L I B R A R I E S }
$ { F R E E T Y P E _ L I B R A R I E S }
$ { F r e e I m a g e _ L I B R A R I E S }
2013-08-18 17:17:24 +00:00
$ { S D L 2 _ L I B R A R Y }
$ { S D L 2 M A I N _ L I B R A R Y }
2013-10-10 18:11:01 +00:00
$ { C U R L _ L I B R A R I E S }
2013-05-14 19:40:21 +00:00
)
2013-05-22 17:11:10 +00:00
#add ALSA for Linux
if ( ${ CMAKE_SYSTEM_NAME } MATCHES "Linux" )
LIST ( APPEND ES_LIBRARIES
$ { A L S A _ L I B R A R Y }
)
endif ( )
2013-05-14 19:40:21 +00:00
if ( DEFINED BCMHOST )
LIST ( APPEND ES_LIBRARIES
b c m _ h o s t
2013-05-15 07:50:59 +00:00
E G L
2013-05-24 09:36:29 +00:00
$ { O P E N G L E S _ L I B R A R I E S }
2013-05-14 19:40:21 +00:00
)
2013-05-15 07:50:59 +00:00
else ( )
2013-05-22 17:11:10 +00:00
if ( MSVC )
LIST ( APPEND ES_LIBRARIES
w i n m m
)
endif ( )
2013-05-15 07:50:59 +00:00
if ( ${ GLSystem } MATCHES "Desktop OpenGL" )
LIST ( APPEND ES_LIBRARIES
$ { O P E N G L _ L I B R A R I E S }
)
else ( )
LIST ( APPEND ES_LIBRARIES
$ { O P E N G L E S _ L I B R A R I E S }
)
endif ( )
2013-05-14 19:40:21 +00:00
endif ( )
#-------------------------------------------------------------------------------
#set up build directories
set ( dir ${ CMAKE_CURRENT_SOURCE_DIR } )
set ( EXECUTABLE_OUTPUT_PATH ${ dir } CACHE PATH "Build directory" FORCE )
set ( LIBRARY_OUTPUT_PATH ${ dir } CACHE PATH "Build directory" FORCE )
#-------------------------------------------------------------------------------
#define target
include_directories ( ${ ES_INCLUDE_DIRS } )
add_executable ( emulationstation ${ ES_SOURCES } ${ ES_HEADERS } )
target_link_libraries ( emulationstation ${ ES_LIBRARIES } )
2013-05-17 09:58:43 +00:00
#special properties for windows builds
if ( MSVC )
#show console in debug builds, but not in proper release builds
#Note that up to CMake 2.8.10 this feature is broken: http://public.kitware.com/Bug/view.php?id=12566
set_target_properties ( emulationstation PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE" )
set_target_properties ( emulationstation PROPERTIES COMPILE_DEFINITIONS_DEBUG "_CONSOLE" )
set_target_properties ( emulationstation PROPERTIES LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:CONSOLE" )
set_target_properties ( emulationstation PROPERTIES COMPILE_DEFINITIONS_RELWITHDEBINFO "_CONSOLE" )
set_target_properties ( emulationstation PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS" )
set_target_properties ( emulationstation PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS" )
2013-05-24 09:36:29 +00:00
endif ( )
2014-06-03 01:33:59 +00:00
2014-06-03 18:57:44 +00:00
install ( TARGETS emulationstation
R U N T I M E
D E S T I N A T I O N b i n )
INCLUDE ( InstallRequiredSystemLibraries )
SET ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "A flexible graphical emulator front-end" )
SET ( CPACK_PACKAGE_DESCRIPTION "EmulationStation is a flexible, graphical front-end designed for keyboardless navigation of your multi-platform retro game collection." )
SET ( CPACK_RESOURCE_FILE LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" )
SET ( CPACK_RESOURCE_FILE README "${CMAKE_CURRENT_SOURCE_DIR}/README.md" )
SET ( CPACK_DEBIAN_PACKAGE_MAINTAINER "Alec Lofquist <allofquist@yahoo.com>" )
SET ( CPACK_DEBIAN_PACKAGE_SECTION "misc" )
SET ( CPACK_DEBIAN_PACKAGE_PRIORITY "extra" )
SET ( CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libsdl2-2.0-0, libboost-system1.54.0, libboost-filesystem1.54.0, libfreeimage3, libfreetype6, libcurl3, libasound2" )
SET ( CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS "debhelper (>= 8.0.0), cmake, g++ (>= 4.8), libsdl2-dev, libboost-system-dev, libboost-filesystem-dev, libboost-date-time-dev, libfreeimage-dev, libfreetype6-dev, libeigen3-dev, libcurl4-openssl-dev, libasound2-dev, libgl1-mesa-dev" )
SET ( CPACK_PACKAGE_VENDOR "emulationstation.org" )
SET ( CPACK_PACKAGE_VERSION "2.0.0~rc1" )
SET ( CPACK_PACKAGE_VERSION_MAJOR "2" )
SET ( CPACK_PACKAGE_VERSION_MINOR "0" )
SET ( CPACK_PACKAGE_VERSION_PATCH "0" )
SET ( CPACK_PACKAGE_INSTALL_DIRECTORY "emulationstation_${CMAKE_PACKAGE_VERSION}" )
SET ( CPACK_PACKAGE_EXECUTABLES "emulationstation" "emulationstation" )
SET ( CPACK_GENERATOR "TGZ;DEB" )
INCLUDE ( CPack )
2014-06-03 01:33:59 +00:00