cmake/Tests/CSharpOnly/CMakeLists.txt

14 lines
385 B
CMake
Raw Normal View History

2017-04-14 19:02:05 +02:00
# a simple CSharp only test case
project (CSharpOnly CSharp)
# C# does not make any difference between STATIC and SHARED libs
add_library(lib1 STATIC lib1.cs)
add_library(lib2 SHARED lib2.cs)
add_executable(CSharpOnly csharponly.cs)
target_link_libraries(CSharpOnly lib1 lib2)
2018-10-28 12:09:07 +01:00
2018-11-29 20:27:00 +01:00
add_custom_target(CSharpCustom ALL SOURCES empty.cs)
add_custom_target(custom.cs ALL DEPENDS empty.txt)