Last active
April 27, 2018 04:14
-
-
Save ekse/5886f73185361d6c64a8986222d589c5 to your computer and use it in GitHub Desktop.
CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0) | |
project(CMakeRustSample) | |
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") | |
enable_language(Rust) | |
include(CMakeCargo) | |
include_directories("include") | |
add_subdirectory(test-lib) | |
add_executable(helloworld main.cpp) | |
target_link_libraries(helloworld test-lib ws2_32 userenv) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment