project(wxTemplate)


set(exe_name "wxTemplate")

# Check for wxWidgets
set(wxWidgets_USE_LIBS base core adv gl)

# now check for wxWidgets
find_package(wxWidgets REQUIRED)

# load the use file
include(${wxWidgets_USE_FILE})

add_definitions(${wxWidgets_DEFINITIONS})

# include dirs
include_directories(${wxWidgets_INCLUDE_DIRS})

# add the application
add_executable(wxTemplate MACOSX_BUNDLE Main.cpp)


# link
target_link_libraries(${exe_name} 
	${wxWidgets_LIBRARIES}
	)