summaryrefslogtreecommitdiff
path: root/Tests/CSharpOnly/CMakeLists.txt
blob: 82049c78d2ed3c2e20f9b8d2a14bf894a1de7bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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)

add_custom_target(CSharpCustom ALL SOURCES empty.cs)
add_custom_target(custom.cs ALL DEPENDS empty.txt)