Created
July 21, 2014 08:54
-
-
Save ashwin/8be851d1f3616e7b1fc7 to your computer and use it in GitHub Desktop.
CMakeLists.txt for building wxWidgets program
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
project(helloapp) | |
cmake_minimum_required(VERSION 2.8) | |
find_package(wxWidgets COMPONENTS core base REQUIRED) | |
include( "${wxWidgets_USE_FILE}" ) | |
add_executable( | |
${PROJECT_NAME} | |
helloapp.cpp | |
) | |
target_link_libraries( | |
${PROJECT_NAME} | |
${wxWidgets_LIBRARIES} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment