diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:56:46 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-05-08 15:56:46 +0000 |
commit | ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d (patch) | |
tree | 67dbd5fd1b29f912cd1638f505070d88774a5aa5 /cmake/src/lib/projectM/cwrapper/CMakeLists.txt | |
parent | f44a93685ae651a08b51a2688a1c8d4c9ae2d28e (diff) | |
download | usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.tar.gz usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.tar.xz usdx-ca5f0996cd93cfb7ed8d1cb6ad517a9af7f4341d.zip |
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
Diffstat (limited to 'cmake/src/lib/projectM/cwrapper/CMakeLists.txt')
-rw-r--r-- | cmake/src/lib/projectM/cwrapper/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
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) |