cmake-d/tests/app_4/CMakeLists.txt

10 lines
310 B
Text
Raw Normal View History

# This is a D app that links a C library.
#
# The linker preference of D is higher than C (or CXX), so after
# the objects are created, the D toolchain will drive linking.
#
2016-08-06 15:50:42 +00:00
add_executable(app_4 app_4.d)
include_directories(app_4 ${PROJECT_SOURCE_DIR})
add_test(app_4 app_4)
target_link_libraries(app_4 lib_2)