forked from ssj71/infamousPlugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
30 lines (21 loc) · 818 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 2.8)
project(infamous-plugins)
option(MOD "Install MOD gui resources" OFF)
set(LIBDIR lib CACHE STRING "Specifies the name of the library path")
set( PLUGINS "casynth;envfollower;hip2b;powerup;powercut;cheapdist;stuck;ewham;lushlife;bentdelay;mindi;octolo" CACHE STRING "List of plugins to build")
foreach( plug ${PLUGINS} )
add_subdirectory(src/${plug})
endforeach(plug)
add_executable(infamous-rule
src/rule.c
)
install(TARGETS infamous-rule
DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
)
# uninstall target
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)