Add CMakeLists.txt
This commit is contained in:
parent
d37720a9cd
commit
ae1587c201
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.0)
|
||||
project(torque-ide CXX)
|
||||
find_package(wxWidgets COMPONENTS core base)
|
||||
|
||||
if(NOT wxWidgets_FOUND)
|
||||
message(FATAL_ERROR "wxWidgets not found")
|
||||
endif()
|
||||
|
||||
include(${wxWidgets_USE_FILE})
|
||||
add_executable(${PROJECT_NAME}
|
||||
src/torqueideabout.cpp
|
||||
src/torqueideapp.cpp
|
||||
src/torqueideframe.cpp
|
||||
src/torqueideprefs.cpp
|
||||
src/torqueidestc.cpp
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE src)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -Wall -g)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${wxWidgets_LIBRARIES})
|
Loading…
Reference in New Issue