From ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 8 May 2009 15:56:46 +0000 Subject: initial cmake support (let's see if this is better suited than autoconf) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1717 b956fd51-792f-4845-bead-9b4dfca2ff2c --- cmake/src/lib/projectM/cwrapper/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cmake/src/lib/projectM/cwrapper/CMakeLists.txt (limited to 'cmake/src/lib/projectM/cwrapper/CMakeLists.txt') diff --git a/cmake/src/lib/projectM/cwrapper/CMakeLists.txt b/cmake/src/lib/projectM/cwrapper/CMakeLists.txt new file mode 100644 index 00000000..90880cd8 --- /dev/null +++ b/cmake/src/lib/projectM/cwrapper/CMakeLists.txt @@ -0,0 +1,11 @@ +if(libprojectM_USE_CWRAPPER) + include_directories(${libprojectM_INCLUDEDIR}/libprojectM) + add_definitions(-DPROJECTM_VERSION_INT=${libprojectM_VERSION_INT}) + + set(projectm_cwrapper_srcs projectM-cwrapper.cpp) + if(WIN32) + add_library(projectM-cwrapper SHARED ${projectm_cwrapper_srcs}) + else(WIN32) + add_library(projectM-cwrapper STATIC ${projectm_cwrapper_srcs}) + endif(WIN32) +endif(libprojectM_USE_CWRAPPER) -- cgit v1.2.3