Commit 20f83ebbe456dcc933d0eb32fa021514d9252594
1 parent
26c60068
Add CMakeLists for building the library from source
Showing
2 changed files
with
20 additions
and
0 deletions
CMakeLists.txt
0 → 100755
hueplusplus/CMakeLists.txt
0 → 100755
| 1 | +file(GLOB hueplusplus_HEADERS *.h *.hpp) | |
| 2 | +file(GLOB hueplusplus_SOURCES *.cpp) | |
| 3 | + | |
| 4 | +add_library(HuePlusPlusShared SHARED ${hueplusplus_SOURCES}) | |
| 5 | +set_property(TARGET HuePlusPlusShared PROPERTY CXX_STANDARD 14) | |
| 6 | +set_property(TARGET HuePlusPlusShared PROPERTY CXX_EXTENSIONS OFF) | |
| 7 | + | |
| 8 | +add_library(HuePlusPlusStatic STATIC ${hueplusplus_SOURCES}) | |
| 9 | +set_property(TARGET HuePlusPlusStatic PROPERTY CXX_STANDARD 14) | |
| 10 | +set_property(TARGET HuePlusPlusStatic PROPERTY CXX_EXTENSIONS OFF) | ... | ... |