A compound of general formula (I) or a pharmaceutically acceptable salt thereof: wherein: X is selected from the goup consisting of N and CH; R 1 is selected from the group consisting of hydrogen, halogen, C1-6 alkyl, C3-6 cycloalkyl, -C(O)OR 8 and CN; R 2 is selected from the group consditing of C1-6 alkyl, deuterated C1-6 alkyl, C3-6 cycloalkyl and C1-6 haloalkyl; R 3 is selected from the group consisting of -NR 9 (CH 2 ) 2 NR 9 'R 9 ", R 4 is R 5 , R 6 and R 7 are independently selected from the group consisting of hydrogen, halogen, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkoxy and CN; R 8 is selected from the group consisting of hydrogen, C1-6 alkyl and C1-6 haloalkyl; R 9 is selected from the group consitins of hydrogen, C1-6 alkyl, deuterated C1-6 alkyl and C1-6 haloalkyl; R 9 ' and R 9 " are independently selected from the group consisting of hydrogen, C1-6 alkyl, C3-6 cycloalkyl, deuterated C1-6 alkyl and C1-6 haloalkyl, or R 9 ' and R 9 " together with the nitrogen connected thereto form a heterocycle, the heteroclcle is unsubstituted or optionally substituted with 1-3 groups selected from the group consisting of halogen, Cl-6 alkyl, C1-3 alkoxy, methylthio, methanesulfonyl and C1-6 haloalkyl; R 10 is selected from the group consisting of hydrogen, halogen, C1-6 alkyl and - CH 2 NR 12 'R 12 "; R 11 is selected from the group consisting of hydrogen, halogen and C1-6 alkyl; and R 12 and R 12 ' are independently selected from the group consisting of hydrogen, C1-6 alkyl and Cl-6 haloalkyl, or R 12 ' and R 12 " together with the nitrogen connected thereto form a heterocycle, the heteroclcle is unsubstituted or optionally substituted with 1-3 groups selected from the group consisting of halogen, C1-6 alkyl and C1-6 haloalkyl. X is selected from the goup consisting of N and CH; R 1 is selected from the group consisting of hydrogen, halogen, C1-6 alkyl, C3-6 cycloalkyl, -C(O)OR 8 and CN; R 2 is selected from the group consditing of C1-6 alkyl, deuterated C1-6 alkyl, C3-6 cycloalkyl and C1-6 haloalkyl; R 3 is selected from the group consisting of -NR 9 (CH 2 ) 2 NR 9 'R 9 ", R 4 is R 5 , R 6 and R 7 are independently selected from the group consisting of hydrogen, halogen, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkoxy and CN; R 8 is selected from the group consisting of hydrogen, C1-6 alkyl and C1-6 haloalkyl; R 9 is selected from the group consitins of hydrogen, C1-6 alkyl, deuterated C1-6 alkyl and C1-6 haloalkyl; R 9 ' and R 9 " are independently selected from the group consisting of hydrogen, C1-6 alkyl, C3-6 cycloalkyl, deuterated C1-6 alkyl and C1-6 haloalkyl, or R 9 ' and R 9 " together with the nitrogen connected thereto form a heterocycle, the heteroclcle is unsubstituted or optionally substituted with 1-3 groups selected from the group consisting of halogen, Cl-6 alkyl, C1-3 alkoxy, methylthio, methanesulfonyl and C1-6 haloalkyl; R 10 is selected from the group consisting of hydrogen, halogen, C1-6 alkyl and - CH 2 NR 12 'R 12 "; R 11 is selected from the group consisting of hydrogen, halogen and C1-6 alkyl; and R 12 and R 12 ' are independently selected from the group consisting of hydrogen, C1-6 alkyl and Cl-6 haloalkyl, or R 12 ' and R 12 " together with the nitrogen connected thereto form a heterocycle, the heteroclcle is unsubstituted or optionally substituted with 1-3 groups selected from the group consisting of halogen, C1-6 alkyl and C1-6 haloalkyl. <EOS>